Home > @uniformdev/canvas > BatchEntry

BatchEntry class

A single entry in a batch of queued enhancements.

Signature:

Constructors

ConstructorModifiersDescription
(constructor)(_resolve, _reject, args)Constructs a new instance of the <code>BatchEntry</code> class

Properties

PropertyModifiersTypeDescription
argsTArgs
isCompleted<code>readonly</code>booleanWhether the batch entry has been completed (resolved or rejected).

Methods

MethodModifiersDescription
reject(reason)Mark the batch entry as failed.
resolve(result)Mark the batch entry as successfully completed.