AsyncChainer.this - multiple declarations

Function AsyncChainer.this

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).

Prototype

this(
  T obj,
  bool hasResolver = false
);

Parameters

NameDescription
obj the object to wrap for chaining
hasResolver if true, create a ManualEvent used for resolving

Function AsyncChainer.this

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

Prototype

this(
  T obj,
  Duration delay,
  AsyncChainer!T parent = null
);

Parameters

NameDescription
obj the object to wrap for chaining
delay a duration to delay before resolving
parent the parent member in the chain to depend on before resolving