Class: ListenerLoaderStrategy
Extends
LoaderStrategy
<Listener
>
Constructors
new ListenerLoaderStrategy()
new ListenerLoaderStrategy():
ListenerLoaderStrategy
Returns
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
Parameter | Type |
---|---|
_store | ListenerStore |
piece | Listener <"" , 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
Parameter | Type |
---|---|
_store | ListenerStore |
piece | Listener <"" , ListenerOptions > |
Returns
void
Overrides
LoaderStrategy.onUnload
Defined in
projects/framework/src/lib/structures/ListenerLoaderStrategy.ts:19