mirror of
https://github.com/status-im/realm-js.git
synced 2025-01-11 14:54:33 +00:00
e6591a7c9c
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.