autoformat v1.0.0 (2022-06-03T10:33:38Z)
Dub
Repo
Closure
my
actor
actor
Undocumented in source.
struct
Closure (
Fn
CtxT
) {
alias
FreeFn
=
void
function
(
CtxT
)
;
Fn
fn
;
CtxT
ctx
;
FreeFn
cleanup
;
this
(Fn fn);
this
(Fn fn, CtxT* ctx, FreeFn cleanup);
void
opCall
(Args args);
void
free
();
}
Constructors
this
this
(Fn fn)
Undocumented in source.
this
this
(Fn fn, CtxT* ctx, FreeFn cleanup)
Undocumented in source.
Members
Aliases
FreeFn
alias
FreeFn
=
void
function
(
CtxT
)
Undocumented in source.
Functions
free
void
free
()
Undocumented in source. Be warned that the author may not have intended to support it.
opCall
void
opCall
(Args args)
Undocumented in source. Be warned that the author may not have intended to support it.
Variables
cleanup
FreeFn
cleanup
;
Undocumented in source.
ctx
CtxT
ctx
;
Undocumented in source.
fn
Fn
fn
;
Undocumented in source.
Meta
Source
See Implementation
my
actor
actor
aliases
DefaultHandler
DownHandler
ErrorHandler
ExceptionHandler
ExitHandler
classes
ScopedActorException
enums
ActorState
ScopedActorError
functions
build
checkMatchingCtx
checkRefForContext
defaultErrorHandler
defaultExceptionHandler
defaultExitHandler
defaultHandler
impl
logAndDropHandler
logExceptionHandler
makeAction
makePromise
makeReply
makeRequest
scopedActor
structs
Action
Actor
Closure
Promise
ReplyHandlerTimeout
Request
RequestResult
ScopedActor