Skip to content

@graphty/graphty-element / index / OperationCancelledEvent

Interface: OperationCancelledEvent ​

Defined in: graphty-element/src/events.ts:461

Emitted when a queued operation is aborted before it finished.

Properties ​

id ​

id: string

Defined in: graphty-element/src/events.ts:464

The operation's id, as operation-start carried it.


reason ​

reason: string

Defined in: graphty-element/src/events.ts:469

Why it was aborted, as the queue words it: "Queue cleared" when the whole queue was cleared, "Manual cancellation" when this one operation was cancelled.


type ​

type: "operation-cancelled"

Defined in: graphty-element/src/events.ts:462