mirror of
https://github.com/status-im/realm-js.git
synced 2025-02-11 14:16:26 +00:00
With async callbacks, in-process listeners need to be able to wait for anything currently in progress to complete just like out-of-process listeners. In addition, removeListener() needs to be declared as returning a Promise so that typescript code can actually use it.