Home > @uniformdev/canvas > BatchEntry

BatchEntry class

A single entry in a batch of queued enhancements.

Signature:

Constructors

Constructor

Modifiers

Description

(constructor)(_resolve, _reject, args)

Constructs a new instance of the BatchEntry class

Properties

Property

Modifiers

Type

Description

args

TArgs

isCompleted

readonly

boolean

Whether the batch entry has been completed (resolved or rejected).

Methods

Method

Modifiers

Description

reject(reason)

Mark the batch entry as failed.

resolve(result)

Mark the batch entry as successfully completed.