@graphty/graphty-element / index / WorkerCapability
Interface: WorkerCapability ​
Defined in: graphty-element/src/acceleration/types.ts:301
Whether this host can run the element's work off the main thread, and on how many threads.
Properties ​
count ​
readonlycount:number
Defined in: graphty-element/src/acceleration/types.ts:305
How many worker threads the element will use. Zero when workers are unavailable.
state ​
readonlystate:"active"|"unavailable"
Defined in: graphty-element/src/acceleration/types.ts:303
"active" when workers are usable here, "unavailable" when they are not.