I would like to handle some post action after connection has been drain. After a look into the code, it seems that drain return a promise but i have difficulties to understand when the promise is resolved. By the way it seems that the promise is never resolved.
Is there a possibility to implement an async action like below ?
Hello,
I would like to handle some post action after connection has been drain. After a look into the code, it seems that drain return a promise but i have difficulties to understand when the promise is resolved. By the way it seems that the promise is never resolved.
Is there a possibility to implement an async action like below ?