Skip to content

@graphty/graphty-element / managers / QueueableManager

Interface: QueueableManager

Defined in: src/managers/interfaces.ts:24

Interface for managers that can queue operations

Extends

Methods

dispose()

dispose(): void

Defined in: src/managers/interfaces.ts:18

Dispose of all resources held by the manager

Returns

void

Inherited from

Manager.dispose


init()

init(): Promise<void>

Defined in: src/managers/interfaces.ts:13

Initialize the manager

Returns

Promise<void>

Inherited from

Manager.init


queueOperation()?

optional queueOperation(category, fn): string

Defined in: src/managers/interfaces.ts:31

Queue an operation for execution

Parameters

category

OperationCategory

The category of operation

fn

() => void | Promise<void>

The function to execute

Returns

string

The operation ID