concurrency v5.0.0 (2022-10-19T08:12:29Z)
Dub
Repo
SenderObjectBase
concurrency
sender
A polymorphic sender of type T
interface
SenderObjectBase (
T
) {
import
concurrency
.
receiver
;
;
interface
SchedulerObjectBase
via
import
concurrency
.
scheduler
:
SchedulerObjectBase
;
;
struct
StopToken
via
import
concurrency
.
stoptoken
:
StopToken
,
stopTokenObject
;
;
auto
stopTokenObject
(NeverStopToken stopToken) via
import
concurrency
.
stoptoken
:
StopToken
,
stopTokenObject
;
;
alias
Value
=
T
;
alias
Op
=
OperationObject
;
OperationObject
connect
(ReceiverObjectBase!(T) receiver);
OperationObject
connect
(Receiver receiver);
}
Members
Aliases
Op
alias
Op
=
OperationObject
Undocumented in source.
Value
alias
Value
=
T
Undocumented in source.
Functions
connect
OperationObject
connect
(ReceiverObjectBase!(T) receiver)
Undocumented in source.
connect
OperationObject
connect
(Receiver receiver)
Undocumented in source. Be warned that the author may not have intended to support it.
Meta
Source
See Implementation
concurrency
sender
classes
Promise
SenderObjectImpl
enums
isSender
functions
checkSender
connectHeap
defer
delay
just
justFrom
promise
toSenderObject
interfaces
OperationalStateBase
SenderObjectBase
structs
Defer
DelaySender
DoneSender
ErrorSender
JustFromSender
OperationObject
PromiseSender
PromiseSenderOp
ThrowingSender
ValueSender
VoidSender
templates
OpType
isValidOp
A polymorphic sender of type T