Skip to main content

Initializers


Methods


addPostProcessor

postProcessorRequired


resolve

Produce the Token’s value at resolution time.

contextRequired


toJSON

Turn this Token into JSON. Called automatically when JSON.stringify() is called on a Token.

toString

Return a string representation of this resolvable object. Returns a reversible string representation.

Properties


creationStackRequired

  • Type: string[]
The creation stack of this resolvable which will be appended to errors thrown during resolution. If this returns an empty array the stack will not be attached.