You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed that the analyticsTracker option of initPerfume is expected to be a void callback. It would be useful if it could accept a promise, WDYT?
Example
In my use case, I'm collecting data in IndexedDB using idb-keyval, which is a fully promisified library. It would be helpful if I could use await within the callback.
Motivation
I noticed that the
analyticsTracker
option ofinitPerfume
is expected to be a void callback. It would be useful if it could accept a promise, WDYT?Example
In my use case, I'm collecting data in IndexedDB using
idb-keyval
, which is a fully promisified library. It would be helpful if I could useawait
within the callback.The text was updated successfully, but these errors were encountered: