Create a PromiseEventEmitter.
Alias for emitter.on(eventName, listener).
Clear cache over nextShowCaseDate
ProtectedemitSynchronously calls each of the listeners registered for the event namedeventName, in the order they were registered, passing the supplied arguments to each.
Returns true if the event had listeners, false otherwise.
the name of the event.
arguments to pass to the listeners.
Fetch All from enka.network
UID
OptionalfetchOption: RequestInitfetch option
enka data
Fetch Status from 1 hour ago to now
OptionalfetchOption: RequestInitfetch option
status from 1 hour ago to now
Fetch EnkaAccount from enka.network
enka account username
OptionalfetchOption: RequestInitfetch option
enka account
Fetch GenshinAccounts from enka.network
enka account username
OptionalfetchOption: RequestInitfetch option
genshin accounts
Fetch now Status
OptionalfetchOption: RequestInitfetch option
now status
Fetch PlayerDetail from enka.network
UID
OptionalfetchOption: RequestInitfetch option
player detail
Adds the listener function to the end of the listeners array for the event named eventName.
No checks are made to see if the listener has already been added.
Multiple calls passing the same combination of eventNameand listener will result in the listener being added, and called, multiple times.
Adds a one-timelistener function for the event named eventName. The next time eventName is triggered, this listener is removed and then invoked.
Removes all listeners, or those of the specified eventName.
Optionalevent: "GET_NEW_ENKA_DATA" | GET_NEW_ENKA_DATA | Kthe name of the event.
Removes the specified listener from the listener array for the event namedeventName.
Class for fetching EnkaData from enka.network