concurrency ~master (2022-01-07T14:23:47Z)
Dub
Repo
RaceSender.connect
concurrency
operations
race
RaceSender
Undocumented in source. Be warned that the author may not have intended to support it.
struct
RaceSender
(Senders...)
@
safe
scope return
auto
connect
(
Receiver
)
(
return
Receiver
receiver
)
if
(
(
Senders.length
> 1 &&
allSatisfy
!(
ApplyRight
!(
models
,
isSender
),
Senders
)
)
||
(
models
!(
ArrayElement
!(
Senders
[0]),
isSender
)
)
)
Meta
Source
See Implementation
concurrency
operations
race
RaceSender
aliases
Value
functions
connect
variables
noDropouts
senders