concurrency ~master (2022-01-07T14:23:47Z)
Dub
Repo
ValueSender
concurrency
sender
A Sender that sends a single value of type T
struct
ValueSender (
T
) {
alias
Value
=
T
;
struct
Op
(Receiver)
;
static if
(
!is(T == void)
)
T
value
;
Op
!
Receiver
connect
(Receiver receiver);
}
Members
Aliases
Value
alias
Value
=
T
Undocumented in source.
Functions
connect
Op
!
Receiver
connect
(Receiver receiver)
Undocumented in source. Be warned that the author may not have intended to support it.
Structs
Op
struct
Op
(Receiver)
Undocumented in source.
Variables
value
T
value
;
Undocumented in source.
Meta
Source
See Implementation
concurrency
sender
classes
PromiseSender
SenderObjectImpl
enums
isSender
functions
checkSender
connectHeap
delay
just
justFrom
promise
toSenderObject
interfaces
OperationalStateBase
SenderObjectBase
structs
DelaySender
DoneSender
ErrorSender
JustFromSender
OperationObject
PromiseSenderOp
ThrowingSender
ValueSender
VoidSender
templates
OpType
isValidOp
A Sender that sends a single value of type T