@graphty/graphty-element / index / LazySource
Interface: LazySource ​
Defined in: graph-io/dist/src/sources/types.d.ts:614
A source registered by its descriptor, whose code loads on first use. Experimental.
Properties ​
descriptor ​
readonlydescriptor:SourceDescriptor
Defined in: graph-io/dist/src/sources/types.d.ts:618
The descriptor, available without loading the code.
id ​
readonlyid:string
Defined in: graph-io/dist/src/sources/types.d.ts:616
The source id.
load ​
readonlyload: () =>Promise<GraphSource<never>>
Defined in: graph-io/dist/src/sources/types.d.ts:623
Load the source.
Returns ​
Promise<GraphSource<never>>
the source