concurrency v3.1.0 (2021-08-24T13:51:28Z)
Dub
Repo
SharedStream
concurrency
stream
Undocumented in source.
shared
struct
SharedStream (
T
) {
alias
ElementType
=
T
;
alias
SubscriberDG
=
void
delegate
(
T
)
nothrow
@(
safe
)
shared
;
import
concurrency
.
slist
;
;
this
(SList!SubscriberDG dgs);
void
emit
(T t);
auto
collect
(DG dg);
}
Constructors
this
this
(SList!SubscriberDG dgs)
Undocumented in source.
Members
Aliases
ElementType
alias
ElementType
=
T
Undocumented in source.
SubscriberDG
alias
SubscriberDG
=
void
delegate
(
T
)
nothrow
@(
safe
)
shared
Undocumented in source.
Functions
collect
auto
collect
(DG dg)
Undocumented in source. Be warned that the author may not have intended to support it.
emit
void
emit
(T t)
Undocumented in source. Be warned that the author may not have intended to support it.
Meta
Source
See Implementation
concurrency
stream
classes
StreamObjectImpl
enums
ThrottleEmitLogic
ThrottleTimerLogic
isStream
functions
arrayStream
checkStream
debounce
doneStream
errorStream
fromStreamOp
infiniteStream
intervalStream
iotaStream
sample
scan
sharedStream
slide
take
throttleFirst
throttleLast
throttling
toList
toStreamObject
transform
via
interfaces
StreamObjectBase
structs
SharedStream
templates
CollectDelegate
SchedulerType
StreamProperties
loopStream