17 Commits

Author SHA1 Message Date
145c3ae34a Add completeExceptionally, cancelAndJoin, and refine LaunchPool spec
- CompletableDeferred.completeExceptionally(exception): fails the deferred
  with a Lyng exception; the original exception object is preserved as
  errorObject so assertThrows/catch see the correct class (works for both
  built-in ObjException and user-declared class instances)
- LaunchPool: add maxQueueSize parameter (suspends launch when full),
  add cancelAndJoin() for graceful shutdown that waits for running tasks,
  clarify all semantics in the extern declaration comments
- Two tests for completeExceptionally (built-in and user-defined exception)
- Fix parallelism.md channel doc-test to be illustration-only (avoid
  flakiness from coroutine scheduling in the doc-test runner)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-18 03:00:40 +03:00
840cd32574 Fix captured range bounds in launched for-loops 2026-04-09 17:05:00 +03:00
fbb1683ba3 Fix concurrent TCP CLI scope and add regressions 2026-04-09 11:55:01 +03:00
c9eb3df93d Add Deferred.joinAll helper 2026-04-09 11:27:32 +03:00
d8454a11fc optimize arithmetics 2026-04-04 04:01:43 +03:00
7b65ff9d0e Fix inference regression and green tests 2026-04-02 16:48:14 +03:00
311cf6ee44 Add Lyng deferred cancellation support 2026-03-31 22:50:46 +03:00
43a6a7aaf4 Implement qualified cast views for MI 2026-02-04 23:31:41 +03:00
68122df6d7 Fix implicit extension calls and apply scope captures 2026-01-30 16:20:55 +03:00
f788f79d4b Enable more tests and narrow ignores 2026-01-29 03:02:26 +03:00
9a15470cdb Enforce bytecode-only compilation in tests 2026-01-28 19:39:21 +03:00
2adb0ff512 +copyrght, apache 2.0 2025-08-13 23:22:04 +03:00
3948283481 0.8.4: stadlib in Lyng! added universal Iterable functions 2025-08-09 22:50:48 +03:00
e0ed27a01f fixed many bugs in closures processing also in flows 2025-08-09 15:48:41 +03:00
9aae33d564 fix #48 flows 2025-08-08 19:33:17 +03:00
1a90b25b1e fix #51 ref #48 flows started. bad closure-based bug fixed 2025-08-08 19:23:43 +03:00
19f8b6605b fix #47 parallelism: launch, Deferred, CompletableDeferred, Mutex (delay was already implemented) 2025-08-07 20:31:36 +03:00