concurrency v4.12.0 (2022-07-25T21:03:12Z)
Dub
Repo
ViaSender
concurrency
operations
via
Undocumented in source.
struct
ViaSender (
SenderA
SenderB
)
if
(
models
!(
SenderA
,
isSender
) &&
models
!(
SenderB
,
isSender
)
) {
import
std
.
meta
:
Filter
,
AliasSeq
;
;
import
std
.
meta
:
Filter
,
AliasSeq
;
;
SenderA
senderA
;
SenderB
senderB
;
alias
Values
=
Filter
!(
NoVoid
,
AliasSeq
!(
SenderA
.
Value
,
SenderB
.
Value
))
;
alias
Value
=
void
;
alias
Value
=
Values
[
0
]
;
import
std
.
typecons
:
Tuple
;
;
alias
Value
=
Tuple
!
Values
;
auto
connect
(Receiver receiver);
}
Members
Aliases
Value
alias
Value
=
Values
[
0
]
Undocumented in source.
Value
alias
Value
=
Tuple
!
Values
Undocumented in source.
Value
alias
Value
=
void
Undocumented in source.
Values
alias
Values
=
Filter
!(
NoVoid
,
AliasSeq
!(
SenderA
.
Value
,
SenderB
.
Value
))
Undocumented in source.
Functions
connect
auto
connect
(Receiver receiver)
Undocumented in source. Be warned that the author may not have intended to support it.
Variables
senderA
SenderA
senderA
;
Undocumented in source.
senderB
SenderB
senderB
;
Undocumented in source.
Meta
Source
See Implementation
concurrency
operations
via
functions
via
structs
ViaSender