AsyncChainer

AsyncChainer is a utility for exposing methods that can help chain actions with various delays/resolving patterns.

Constructors

this
this(T obj, bool hasResolver)

The base constructor which handles the optional creation of ManualEvent used in the case where this member of the AsyncChain has a delay (or depends on something with a delay).

this
this(T obj, Duration delay, AsyncChainer!T parent)

Delayed constructor creates an AsyncChainer chain member which waits for the specified delay before resolving the current and next members of the chain.

Members

Functions

after
AsyncChainer!T after(Duration delay)

Utility method for chaining. Returns a new child member of the chain.

maybe
AsyncChainer!T maybe()

Undocumented in source. Be warned that the author may not have intended to support it.

opDispatch
AsyncChainer!T opDispatch(Args args)

opDispatch override that provides a mechanisim for wrapped chaining of the inner object.

Meta