Concurrency
Promise, Supply, Channel, react and whenever, locks and threads.
169 rules from 84 tests. 76 of those tests are confirmed on both engines: Raku++ and Rakudo 2026.11 both pass, or Raku++ gives Rakudo's answer on every probe of a family. The verdict is the test's, not each rule's. How to read a case.
async-socket-supply-and-decoderRaku++ passesRakudo passes- 3
whenever $socket, with no.Supply, taps the socket instead of running its body once with the socket as the topic. - 4
doneinside awheneverhandler over an async socket ends the enclosingreact.
More from this test: Strings & Unicode (2).
async-socket-tapsRaku++ passesRakudo passes- 1
A
wheneverover a Channel inside asupplyblock runs its body once per value sent, with that value as the parameter, not once with the Channel itself. - 2
Closing one tap of an
IO::Socket::Asyncconnection's.Supplydoes not close the socket, so a second tap on the same connection still receives data. - 3
A
reactblock closes the taps it made when it ends, and a closed tap stops consuming data from the socket, so later taps receive the bytes that follow. inferred - 5
doneinside aLASTphaser of awhenevercloses the enclosingreact. inferred
More from this test: Hashes & sets (1).
atomic-formsRaku++ passesRakudo passes- 1
The
⚛operators act atomically on anatomicint:$x⚛++and$x⚛--return the old value,++⚛$xand--⚛$xthe new one, prefix⚛$xreads, and⚛+=/⚛-=return the value after.with
$aat 6,$a⚛++returns 6 and leaves 7, then++⚛$areturns 8 - 2
atomic-fetch-addreturns the old value and adds to the variable.with
$aat 42,atomic-fetch-add($a, 8)returns 42 and leaves 50 - 3
⚛=on anatomicintcoerces a numeric value and throws for a Str, leaving the value untouched, while on a plain Scalar it stores any value.$a ⚛= 4.5stores 4 - 4
Concurrent
$x⚛++increments from several threads are never lost.
More from this test: divergences (1).
audited-language-gaps-1Raku++ passesRakudo passes- 9
Promise, Channel and Supply do the Awaitable role.
More from this test: Containers & assignment (1), Exceptions & control flow (1), Hashes & sets (1), Lists & laziness (2), Operators (1), Regexes & grammars (2), Signatures & dispatch (3), Syntax & parsing (2).
builtin-object-identity-whichRaku++ passesRakudo passes- 1
Each Promise, Channel, Supplier, Lock and similar built-in object has its own identity
.WHICH(an ObjAt), which does not change when its state does..uniquekeeps three distinct Promises, and a Set of two Promises has two elements
calls-rakudo-refusesRaku++ passesRakudo passes- 3
Lock.protectgiven a Hash instead of code is refused.
More from this test: Classes, roles & the MOP (2), Strings & Unicode (2).
channel-pipe-clone-issues-144-148Raku++ passesRakudo passes- 2
Channel.listhands out each item as it arrives, without waiting for the channel to be closed.
More from this test: Containers & assignment (1), I/O & processes (1).
closed-tap-calls-no-doneRaku++ passesRakudo passes- 1
Closing the tap of a
supplyblock calls none of the tapper's callbacks, while a supply that runs out still callsdoneand the block's CLOSE phaser still runs on a close.supply { whenever Supply.interval(10) { } }.tap(done => {…}).closedoes not run thedonecallback
concurrent-match-scopingRaku++ passesRakudo passes- 2
A match inside a
startblock sets that block's own$/, not one shared with other threads. inferred
cro-core-clusterRaku++ passesRakudo passes- 4
Type checks and introspection on an on-demand Supply do not run its block.
isa-okon asupply { … }does not tap it - 5
Draining a supply waits for a
wheneveron a still-pending Promise inside it. - 6
.Channelon an on-demand supply is a live conversion: values emitted after the conversion still arrive on the channel. - 9
A broken Promise or a quitting supply in a
reactblock'swheneverthat has no QUIT phaser makes thereactthrow.
More from this test: Containers & assignment (1), Classes, roles & the MOP (2), Regexes & grammars (1), Scoping & phasers (1).
cro-install-engine-fixesRaku++ passesRakudo passes- 3
returninside a tap's quit handler leaves the routine around the emit. - 8
.schedule-on($*SCHEDULER)runs the tap's callbacks on the scheduler, off the emitter's thread. - 9
A
diein awheneverblock'sLASTphaser quits the supply. - 17
The Supply
.schedule-onreturns is as.liveas its source.
More from this test: I/O & processes (1), Lists & laziness (1), Classes, roles & the MOP (1), Regexes & grammars (1), Signatures & dispatch (7), Strings & Unicode (1), Syntax & parsing (2).
emit-waits-for-busy-supply-on-another-threadRaku++ passesRakudo passes- 1
An
emitinto asupplyblock that another thread is running waits for it, and the value is handled by the timeemitreturns.
fail-in-start-breaks-promiseRaku++ passesRakudo passesflat-squish-and-exit-from-a-workerRaku++ passesRakudo passes- 5
exitends the whole process from whatever thread calls it.start { sleep 1; exit }ends the program
More from this test: Dates & times (1), Lists & laziness (3).
head-tap-single-doneRaku++ passesRakudo passes- 1
A tap on
Supply.head(n)(or.first) receivesdoneexactly once when it reaches its limit, even if the source completes afterwards.
hyper-configuration-remembers-argsRaku++ passesRakudo passes- 1
.hyper(:batch, :degree).configurationreports the batch and degree that were passed, not the defaults.@a.hyper(:batch(42)).configuration.batchis 42
hyper-for-over-threadsRaku++ passesRakudo passeshyper-seq-map-over-threadsRaku++ passesRakudo passes- 2
.mapor.grepon a HyperSeq or RaceSeq answers a HyperSeq or RaceSeq again, in source order for.hyper, and it can be read once, as a Seq. - 3
A
diein the block of a.hyperor.race.map/.grepreaches the caller as an exception doing X::HyperRace::Died. - 4
:batchand:degreegiven to.hyperor.racecarry on through.mapand.grep, from a Range too.
More from this test: divergences (1).
issue-18-react-phasersRaku++ passesRakudo passes- 1
A
reactblock's body runs to its end before anywheneverreceives a value.a
sayat the end of the body prints before the first emitted value - 2
A
LASTphaser in awheneverfires when its supply is exhausted, and it sees the block's parameter as of the last invocation. - 3
A
diein awheneverbody ends thereactand propagates, and aQUITphaser does not catch it.
issue34-named-coercion-and-awaitRaku++ passesRakudo passes- 2
awaiton an object of a class thatdoes Awaitablereturns the awaited result, not the object.
More from this test: Signatures & dispatch (1).
issue34-supply-linesRaku++ passesRakudo passes- 1
.linesand.wordson a live Supply split the stream irrespective of message boundaries, holding an unfinished tail between messages and delivering it when the source is done.whenever $input.lines(:!chomp) -> $line { … }
live-channel-supply-hops-threadsRaku++ passesRakudo passes- 1
$supplier.Supply.Channel.Supplydelivers through the channel on another thread than the emitter's, with the values in order anddoneafter them.
lock-condition-variable-typeRaku++ passesRakudo passes- 1
Lock.conditionreturns aLock::ConditionVariable, a type a program can name.has Lock::ConditionVariable $!availablecomposes
logical-newlinesRaku++ passesRakudo passes- 3
.lines/.wordson a live Supply hold back a tail that could still grow into a line terminator, such as a lone\r, until the next message.
More from this test: I/O & processes (1), Strings & Unicode (1).
negated-reduce-and-blocking-receiveRaku++ passesRakudo times out- 2
Channel.receiveblocks until an item arrives.
More from this test: Operators (1).
proc-async-eager-startRaku++ passesRakudo passes- 1
Proc::Async.startspawns the process at once, whether or not the returned Promise is ever awaited.a fire-and-forget
.startwith noawaitstill launches the child
proc-async-in-supply-blockRaku++ passesRakudo passes- 1
A
Proc::Asyncstarted inside asupply { … }block delivers its output to its taps as it arrives, without anything awaiting its promise. - 2
whenever $proc.startin asupplyblock fires when the process has finished, with the Proc.
More from this test: I/O & processes (1).
proc-async-runs-without-awaitRaku++ passesRakudo passes- 1
A started
Proc::Asyncruns, feeds its taps and settles its promise without anything awaiting it. - 2
When the timer wins
Promise.anyof($proc-promise, Promise.in($t)), the process promise stays intact and.killstill ends the process and settles it. inferred - 3
A
Proc::Asyncstream asked for before the start keeps what the child wrote until its first tap arrives, with itsdoneif the stream has already ended.
proc-stream-tap-fidelityRaku++ passesRakudo passes- 3
whenever $proc.stdout.linesinside asupply { }block taps the process's output stream. - 4
A
.thenblock attached to the Promise returned byProc::Async.startruns only after the process has finished, not when it is registered. - 5
The result of the Promise returned by
Proc::Async.startis a finishedProc(which has.signal), not theProc::Asyncobject.
More from this test: I/O & processes (2).
promise-combinator-thenRaku++ passesRakudo passes- 1
.thenon aPromise.alloforPromise.anyofruns its block only once the combinator has settled, and the promise it returns is not Kept before that. - 2
A
Promise.allof/Promise.anyofnested inside another combinator settles the outer one when its own members settle. - 3
A
.thenon a combinator that has aPromise.intimer member settles at the timer's moment.
promise-planned-boolRaku++ passesRakudo passes- 1
A
Promisethat is still Planned is False in boolean context; only a Kept or Broken promise is True — forstart, timer and combinator promises alike.
promise-whenever-fires-later-and-in-turnRaku++ passesRakudo passes- 1
A
whenever $promisein a supply or react block whose promise settles later runs its body on the thread pool afterkeepreturns, and one body at a time with the block's other whenevers.
quoted-literal-backslashRaku++ passesRakudo passes- 2
Supplieris a type name. inferred
More from this test: Regexes & grammars (1).
rak-chain-install-gapsRaku++ passesRakudo passes- 6
A Lock instance boolifies True.
$lock.protect(&code) if $lockruns
More from this test: Hashes & sets (1), Classes, roles & the MOP (1), Signatures & dispatch (1), Types & coercion (2).
rakudo-t-language-gaps-5Raku++ passesRakudo passes- 3
.failafter.closeleaves a Channel's.closedpromise Kept.
More from this test: Compile-time errors (1), Classes, roles & the MOP (1), Everything else (2), Signatures & dispatch (2), Stringification (1).
rakuglaze-round-5Raku++ passesRakudo passes- 1
A Supply that quits hands out a
.listthat raises only when it is read past the values emitted, so a sunk.listraises nothing.
More from this test: Containers & assignment (1), Lists & laziness (1), Scoping & phasers (1), Types & coercion (1).
rakuglaze-round-6Raku++ passesRakudo passes- 12
.shareon asupplyblock taps it live.
More from this test: Exceptions & control flow (1), Hashes & sets (2), I/O & processes (1), Lists & laziness (2), Classes, roles & the MOP (1), Regexes & grammars (1), Scoping & phasers (1), Syntax & parsing (2).
react-body-fed-from-inside-a-supply-blockRaku++ passesRakudo passes- 1
A react's
wheneverover a Supplier runs its body as part of the react, whatever supply block is delivering on the emitting thread: awheneverinside it joins the react, the react waits for it, and adonethere ends the react.
react-channel-closed-and-turnsRaku++ passesRakudo passes- 1
In a
react,whenever $ch.closed { done }fires when the channel is closed after the react has started. - 2
In a
react, awhenever $promisebody runs once the promise is kept even while awhenever $channelon an empty channel waits beside it.react { whenever $stop { done }; whenever $c { } }ends once$stopis kept
More from this test: divergences (1).
react-died-names-the-reactRaku++ passesRakudo passes- 1
An error that leaves a
reactdoes X::React::Died, whether the react body or awheneverbody died, on the react's thread or on a worker, or a source quit. - 2
The gist of an error that left a
reactincludes the location of the react block. - 3
A
CATCHinside areactsees the error as raised, without the X::React::Died role.
More from this test: divergences (1).
react-done-and-timerRaku++ passesRakudo passes- 1
doneinsidewhenever $supplier.Supply { … }ends the enclosingreactblock.react { whenever $data { …; done } }returns
react-done-closes-supply-tapsRaku++ passesRakudo passes- 1
A
reactthat ends withdonecloses itswheneversubscriptions, so a tappedsupplyblock'sCLOSEphasers run at that moment.
react-last-done-from-another-threadRaku++ passesRakudo passes- 1
doneinside a react whenever'sLASTends the react also when the source is a Supplier finishing on another thread.whenever $conn.messages { … LAST done }ends its react when the supply finishes
react-promise-body-in-turnRaku++ passesRakudo cannot run it- 1
A
reactruns its bodies one at a time: awhenever $promisebody waits while another body of the react runs.in a body doing
$v.keep(1); log 'after keep', 'after keep' is logged before the kept promise'swheneverbody runs - 2
A promise already kept when its
wheneveris registered in areactruns its body after the body that registered it, not inline.
react-socket-last-at-eofRaku++ passesRakudo passes- 1
A
whenever $conn.Supplyin areactruns its block'sLASTphaser when the peer closes the connection, and adonein that phaser ends the react.
return-in-mainline-start-blockRaku++ passesRakudo passes- 1
A
returnin astartblock made outside every routine breaks its Promise withX::ControlFlow::Return.Also held by
start-return.
roast-3log-batch3Raku++ passesRakudo passes- 1
A
wheneverover a merged Supply that includes asignalinstalls the signal handler before thereactbody goes on.
More from this test: Modules (6).
roast-sweep-runtimeRaku++ passesRakudo cannot run it- 38
A consumer's
doneruns the supply'sCLOSEon the running body's lexicals, so it can end the supply's emitting loop at once. inferred - 52
A Promise subclass makes promises of its own type, and they work as Promises. inferred
More from this test: Compile-time errors (4), Containers & assignment (2), Exceptions & control flow (2), Hashes & sets (4), I/O & processes (3), Lists & laziness (5), Modules (2), Classes, roles & the MOP (8), Operators (4), Everything else (1), Regexes & grammars (1), Scoping & phasers (14), Stringification (1), Strings & Unicode (1), Types & coercion (3).
scalars-nil-junction-complex-dateRaku++ passesRakudo passes- 10
Supply.wordsandSupply.linestreat the stream as one concatenated string rather than splitting each emitted message separately.
More from this test: Containers & assignment (1), Dates & times (1), Numerics (3), Classes, roles & the MOP (1), Operators (1), Everything else (1), Stringification (1), Syntax & parsing (1), Types & coercion (1).
scheduler-cue-die-reportedRaku++ passesRakudo passes- 1
Code cued on the scheduler that dies with nothing to catch it is reported — "Unhandled exception in code scheduled on thread N", the error and its backtrace — and ends the process with exit status 1, a cue with
:intoo. - 2
A cue's
:catch, and after it the scheduler'suncaught_handlerwhen one is set, receives the exception of cued code that dies, and the program goes on.
signal-supplyRaku++ passesRakudo passes- 1
signal(SIGINT)is a Supply that emits when the process receives the signal, soreact { whenever signal(SIGINT) { …; done } }handles it.
sparrow6-blockersRaku++ passesRakudo passes- 2
Inside a
react, awheneveron a Proc::Async'sstdout(orstdout.lines) fires for the output of the process started by a siblingwhenever $proc.start. - 3
Proc::Async.readyexists, and awhenever $proc.readyfires once the process has started.
More from this test: I/O & processes (1), Syntax & parsing (1).
sunk-start-reportedRaku++ passesRakudo passes- 1
A sunk
startwhose code dies is reported, "Unhandled exception in code scheduled on thread N" and the error, and ends the process with status 1, or goes to the scheduler'suncaught_handlerwhen one is set; a sunk call that answers astartandstart … for …count too. - 2
A
startthat is kept, assigned or awaited is not reported when it dies, and neither is a sunkPromise.startor a sub'sPromise.broken.
supplier-preserving-is-its-own-typeRaku++ passesRakudo passes- 1
Supplier::Preserving.newis aSupplier::Preserving: its.^namesays so and it smartmatches the type.Supplier::Preserving.new ~~ Supplier::Preservingis True
supply-await-list-read-chdir-pathRaku++ passesRakudo passes- 1
A
reactorsupplybody that awaits keeps its context, so awhenever,emitordoneafter theawaitstill works. - 2
.liston a supply that finishes later taps it once, so an on-demand supply's body runs once. - 5
Supply.from-listfollows the single-argument rule.Supply.from-list([42])emits 42, not the array
More from this test: I/O & processes (2).
supply-block-map-grep-on-demandRaku++ passesRakudo passes- 1
.map,.grepand.doon an on-demand Supply (asupply {}block) are on-demand too: each taps the source only when it is tapped itself.
supply-block-merge-is-liveRaku++ passesRakudo passes- 1
merge,zipandzip-lateston asupply { … }block subscribe when tapped instead of draining the block first, so a block that never ends does not hang them.
supply-block-whenever-orderingRaku++ passesRakudo passes- 1
A
wheneverover a synchronous source subscribes at once but does not run its body inline: events delivered while a block or body is running wait their turn, so one whenever's body never nests inside another's. - 2
donestops thesupplyorreactblock it is in. - 3
lastinside awheneverbody closes that whenever. - 4
An explicit
donedoes not run awhenever'sLASTphaser. inferred - 5
CLOSEphasers of a supply block do not run in declaration order. inferred - 6
Closing the tap of a supply block closes the sources its
whenevers subscribed to. - 7
A
whenever's argument is coerced withSupply(). - 8
A
QUITphaser in awheneveris honoured, and a supply-block-levelQUITdoes not swallow an exception thrown by awheneverbody. inferred
supply-channel-supply-liveRaku++ passesRakudo passes- 1
$supplier.Supply.Channel.Supplyon a live supplier forwards values emitted afterwards, delivering them on another thread after the emit has returned.
supply-close-before-quitRaku++ passesRakudo passes- 1
When a
supplyblock's own code dies — in the block, awheneverarm, a LAST or a QUIT phaser that dies — its CLOSE phasers run before the tapper's quit handler is called. - 2
A
donein asupplyblock runs the CLOSE phasers before the tapper's done callback. - 3
A source's quit that only passes through a
supplyblock, a source's done and a block that runs out reach the tapper first, then CLOSE runs.
supply-combinatorsRaku++ passesRakudo does not pass- 1
Supply.reduceemits a value even when its source is empty. inferred - 2
Supply.migratedemands that its source emit Supplies and does not pass plain values through. - 3
Supply.classifyandSupply.categorizeemitkey => SupplyPairs, and keep the keys1and"1"distinct. - 4
Supply.combdoes not join pieces across chunk boundaries, and honours its limit. - 5
Supply has the combinators
encode,decode,zip-latest,throttleandshare. - 6
Supply.unique(:expires),Supply.squish(:with)andSupply.repeatedtake effect. - 7
Supply.rotoremits Arrays, andSupply.batchemits its values in batches. - 8
Supply.elemsanswers a supply of running counts, not a single count. - 9
A one-parameter
&bygiven toSupply.minorSupply.maxis not called as a two-argument comparator. - 10
Supply.zipemits itemized tuples.
supply-delayed-delays-done-and-quitRaku++ passesRakudo passes- 1
Supply.delayeddelays the source'sdoneandquitby its window, as it delays the values.$s.emit(1); $s.quit(…)on a.delayed(0.3)delivers 1 and then quits
supply-deliveries-across-threadsRaku++ passesRakudo passes- 2
A
supplyblock runs onewheneverbody at a time, including the bodies ofwhenever Promise.in(…)andwhenever $channel.
supply-factories-and-coercersRaku++ passesRakudo does not pass- 1
Supply.on-demandcreates an on-demand supply. - 2
Asking a
Supply.intervalfor its list drives the supply and yields its ticks. - 3
Supply.waitanswers the last value emitted, not True. - 4
.liston a live Supply keeps every value emitted between the call and the read. - 5
Supply.Seqanswers a Seq. - 6
awaiton a supply that quit throws the exception rather than answering Any.
supply-interval-per-connectionRaku++ passesRakudo passes- 1
The ticks of a
Supply.interval($delay)started inside a connection's handler are spaced by the delay.
supply-interval-tickerRaku++ passesRakudo passes- 1
Supply.intervalemits ascending Ints starting at 0, the first at once and then one per interval of real time. - 2
Supply.intervalnever ends on its own: it runs untildoneorlastends the subscription, or until a direct tap is closed with.close. - 3
The two-argument form of
Supply.intervaldelays the first tick.
supply-on-close-and-close-phaser-scopeRaku++ passesRakudo passes- 1
.on-closewraps a supply without running it.supply { whenever $channel { … } }.on-close({ … })returns at once - 2
Closing the tap of a supply made with
.on-closeruns the hook.
More from this test: Scoping & phasers (1).
supply-promise-whenevers-in-keep-orderRaku++ passesRakudo passes- 1
A
supplyblock'swhenever $promisebodies run in the order their promises are kept.ten promises kept 0 to 9 in a row emit their values in that order
supply-protocol-lifecycleRaku++ passesRakudo does not pass- 1
Supply.newthrows X::Supply::New. - 2
Supply.serialanswers whether the supply is serial. inferred - 3
After
done, a Supplier no longer feeds the taps that were told done. - 4
A re-entrant emit does not nest inside the emitting tap's own handler.
- 5
Supplier.quitwith no quit handler on the tap surfaces the exception in the emitter. - 6
Supplier::Preservingreplays to its first tap the values emitted before anything tapped it. inferred - 7
Supply.from-listapplies the single-argument rule to its argument list as a whole, not to each argument. - 8
The exception a Supply combinator throws for bad arguments carries a
.combinatornaming it. - 9
An exception thrown in a Supply's
.mapor.doblock does not escape the tap call and kill the program.
supply-stable-delayed-liveRaku++ passesRakudo passessupply-tapper-death-is-not-a-quitRaku++ passesRakudo passes- 1
When a tapper dies on a value a
supplyblock emits, the supply neither quits nor closes, and later values are still delivered. - 2
An exception a tapper throws comes out of
emitto whoever delivered the value (the emitter's.emit, the caller of.tap, or a Promise'sthen); thesupplyblock's ownCATCHdoes not see it, though aCATCHin thewheneverbody does. - 3
A
wheneverbody's own death quits the supply.Also held by
tapper-death-to-scheduler. - 4
A
reactthat taps a supply dies when the body of itswheneverdies.
supply-timers-and-unique-orderRaku++ passesRakudo passes- 1
Values delayed by the same time come out of
Supply.delayedin their original order.Supply.from-list(7, 8, 9).delayed(0.1)emits 7, 8, 9 - 2
A live Supply's
.uniqueand.squishcompare values by identity (WHICH), not by their Str.1, "1" and <1> are three values; two
IO::Notification::Changefor the same path and event are one
tapper-death-to-schedulerRaku++ passesRakudo passes- 1
A tapper that dies on a value a supply delivers from
Supply.intervalor a Channel hands its error to the scheduler — reported with exit status 1, or given touncaught_handlerwhen one is set — and the supply does not quit. - 2
With an
uncaught_handlerset, a Channel-fed supply goes on delivering after its tapper dies, and aSupply.intervalstops ticking.
then-callback-off-settler-threadRaku++ passesRakudo passes- 1
A
.thencallback registered on a pending promise runs on a worker of its own once the promise settles, not inline on the settler's thread, so anawaitin the callback may wait on work the settler still has to do.
threads-own-match-var-nativeRaku++ passesRakudo passes- 1
Each thread has its own
$/: matches in astartblock do not write the spawning thread's$/or$0.
timed-waits-not-cappedRaku++ passesRakudo passestodo-small-divergencesRaku++ passesRakudo passes- 15
A HyperSeq over an endless source stays a HyperSeq through
.map.
More from this test: Containers & assignment (2), Lists & laziness (3), Classes, roles & the MOP (2), Operators (1), Regexes & grammars (1), Scoping & phasers (2), Stringification (3), Types & coercion (3).
vow-keep-needs-valueRaku++ passesRakudo passes- 1
A Vow's
.keepand.breakrequire their value argument, while a Promise's own.keepand.breakdefault to True and "Died".$vow.keepdies "Too few positionals passed; expected 2 arguments but got 1"
whenever-coerces-user-class-supplyRaku++ passesRakudo passes- 1
whenever $objtaps the Supply that the object's ownSupplymethod returns when$obj's class defines one, rather than running the body once with the object as the value.
whenever-done-semanticsRaku++ passesRakudo passes- 1
doneexits thewheneverblock it is in, so code after it does not run. - 2
donein a plainsupplybody ends the body at that point. - 3
whenever $suppliergiven a raw Supplier taps its.Supply; the block does not run at once with the Supplier as topic. - 4
whenever $promiseon an unkept Promise registers the block, which fires once with the kept value when the Promise settles.whenever $kill { done }fires only when$killis kept
whenever-nested-sub-and-react-teardownRaku++ passesRakudo does not passwhenever-promise-emit-preservingRaku++ passesRakudo passes- 1
whenever $promisein a supply block stays dormant while the promise is unkept and runs its body with the promise's result, not the promise, once it is kept. - 2
whenever Promise.in(N)fires its block once, after N seconds, not immediately.Also held by
react-done-and-timer. - 3
Inside a supply,
.emitand.takewith no explicit invocant act on the topic$_. - 4
Supplier::Preservingbuffers emitted values and replays them to awheneverthat taps later.
whenever-supply-transform-chainRaku++ passesRakudo does not pass- 1
whenever $supplier.Supply.head(n)(or.grep,.map, …) applies the transform to what the block receives and completes when the transformed supply does, letting the enclosingreactfinish.whenever $s.Supply.head(2)delivers two values, then thereactends
worker-exit-runs-endRaku++ passesRakudo passes