Skip to main content

Class: ListenerLoaderStrategy

Extends

Constructors

new ListenerLoaderStrategy()

new ListenerLoaderStrategy(): ListenerLoaderStrategy

Returns

ListenerLoaderStrategy

Inherited from

LoaderStrategy<Listener>.constructor

Defined in

node_modules/@sapphire/pieces/dist/esm/index.d.mts:844

Methods

onLoad()

onLoad(_store: ListenerStore, piece: Listener<"", ListenerOptions>): void

Parameters

ParameterType
_storeListenerStore
pieceListener<"", ListenerOptions>

Returns

void

Overrides

LoaderStrategy.onLoad

Defined in

projects/framework/src/lib/structures/ListenerLoaderStrategy.ts:6


onUnload()

onUnload(_store: ListenerStore, piece: Listener<"", ListenerOptions>): void

Parameters

ParameterType
_storeListenerStore
pieceListener<"", ListenerOptions>

Returns

void

Overrides

LoaderStrategy.onUnload

Defined in

projects/framework/src/lib/structures/ListenerLoaderStrategy.ts:19