issues
search
Rollphes
/
genshin-manager
https://rollphes.github.io/genshin-manager/
MIT License
7
stars
1
forks
source link
add event
#84
Closed
Rollphes
closed
8 months ago
Rollphes
commented
9 months ago
New feature name
[x] add data fetch event to EnkaManager class
[x] add asset update end event to Client class
[x] add "add notice" event to NoticeManager class
[x] add "remove notice" event to NoticeManager class
[x] add startAutoUpdate(cron:string) method to NoticeManager class?
New feature description
I would like to have an event that is emitted when new data is added to enkaManager.cache.
This will simplify linking to databases, etc.
client.update() fires automatically, and an event that is emitted when the update process is complete.
This will allow us to confirm that the asset has been successfully updated, and also to link to other services (notification to Discord).
I would like an event to be emitted when data is added or deleted in noticeManager.notices.
This will eliminate the need for users to write the comparison process and make it easier to use.
Since noticeManager does not have a method to execute update() periodically, it is necessary to create a method to execute it in cron.
Versions to be added
v1.1.0
Issue priority
Low
Use Json Name or API Link
none
New feature name
New feature description
Versions to be added
v1.1.0
Issue priority
Low
Use Json Name or API Link
none