Closed AlexBroadbent closed 11 months ago
@seriousme I've hit a snag where I need to await the result of the initialize function, I've made the change to support it and updated the documentation.
Thanks !
Published as 4.4.0 on NPM
@seriousme Could this be back-ported to 2.6.7
? I'm on an older version due as I can't upgrade to ESM yet, I've made the changes against the tag, but I can't push a PR from my fork.
The lastest 2.x is 2.7.2, are you ok if backport it into 2.8.0 ?
Kind regards, Hans
Thanks @seriousme
Backport is published as 2.8.0 on NPM
Update
initialize(schemes)
to beasync initialize(schemes)
and await the result when setting up the service.This means that users can perform an asynchronous task before the service starts.