tagion v1.0.3-rc1 (2023-12-18T15:15:15Z)
Dub
Repo
Request
tagion
actor
actor
Undocumented in source.
@
safe
struct
Request (
string
name
ID
=
uint
) {
Msg
!
name
msg
;
ID
id
;
string
task_name
;
static
Request
opCall
();
alias
Response
=
.
Response
!(
name
,
ID
)
;
void
respond
(Args args);
}
Members
Aliases
Response
alias
Response
=
.
Response
!(
name
,
ID
)
Undocumented in source.
Functions
respond
void
respond
(Args args)
Send back some data to the task who sent the request
Static functions
opCall
Request
opCall
()
Undocumented in source. Be warned that the author may not have intended to support it.
Variables
id
ID
id
;
Undocumented in source.
msg
Msg
!
name
msg
;
Undocumented in source.
task_name
string
task_name
;
Undocumented in source.
Meta
Source
See Implementation
tagion
actor
actor
aliases
CtrlMsg
enums
Ctrl
Sig
functions
_spawn
control
end
fail
ownerTerminated
run
runTimeout
sendOwner
setState
signal
spawn
statusChildren
tidOwner
unknown
waitforChildren
static variables
taskfailure
thisActor
structs
ActorHandle
Msg
Request
Response
templates
isSpawnable
variables
isActor
isFailHandler