MetadataCache.on('initialized') method
MetadataCache › on(‘initialized’)
Unofficial
Called whenever the metadatacache is fully loaded in.Signature:
on(name: "initialized", callback: () => void): EventRefParameters:
| Parameter | Type | Description |
|---|---|---|
| name | "initialized" | |
| callback | () => void |
Returns: EventRef — The event reference.
Remarks:
'finished' is also emitted when the cache is initialized.