Skip to content

Commit d91f112

Browse files
authored
fix(addMessage-moveMessage-async-await): Rewrite addMessage, moveMessage to async/await ZMS-187 (#779)
* rewrite add message to async/await * rewrite move message, add moveAsync, use async/await * message-handler refactoring + optimizations * message-handler update comment * remove non-async version of getThreadId * fix initial userData fetch, add check for empty userData * finishfunc should not be called with err, updateAddressRegister never throws * fix typo * return finishFunc() in addAsync at the end * message-handler addEntries callback should not be async * fix processaudits then,catch resolve call * fix comment * remove processNext, make code a bit more readable. Refactor * update comment * add better comment * fix race condition * updateMessage remove await when returning done() * message-handler move message refactoring. Move done and updateMessage functions outside
1 parent 77625e8 commit d91f112

1 file changed

Lines changed: 1053 additions & 895 deletions

File tree

0 commit comments

Comments
 (0)