Skip to content

MetadataCache.on('initialized') method

MetadataCache › on(‘initialized’)

Unofficial

Called whenever the metadatacache is fully loaded in.

Signature:

on(name: "initialized", callback: () => void): EventRef

Parameters:

ParameterTypeDescription
name"initialized"
callback() => void

Returns: EventRefThe event reference.

Remarks:

'finished' is also emitted when the cache is initialized.