Skip to main content

Class: ListenerLoaderStrategy

Defined in: projects/framework/src/lib/structures/ListenerLoaderStrategy.ts:5

Extends

Constructors

new ListenerLoaderStrategy()

new ListenerLoaderStrategy(): ListenerLoaderStrategy

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

Returns

ListenerLoaderStrategy

Inherited from

LoaderStrategy<Listener>.constructor

Methods

onLoad()

onLoad(_store: ListenerStore, piece: Listener): void

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

Parameters

ParameterType
_storeListenerStore
pieceListener

Returns

void

Overrides

LoaderStrategy.onLoad


onUnload()

onUnload(_store: ListenerStore, piece: Listener): void

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

Parameters

ParameterType
_storeListenerStore
pieceListener

Returns

void

Overrides

LoaderStrategy.onUnload