@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
init()
init():
Promise<void>
Defined in: src/managers/interfaces.ts:13
Initialize the manager
Returns
Promise<void>
Inherited from
queueOperation()?
optionalqueueOperation(category,fn):string
Defined in: src/managers/interfaces.ts:31
Queue an operation for execution
Parameters
category
The category of operation
fn
() => void | Promise<void>
The function to execute
Returns
string
The operation ID