[ws client]: add function to detect if the background task is canceled. (#243)
* add shutdown receiver to ws-client Signed-off-by: Gregory Hill <[email protected]> * ws-client: no clone, use AtomicBool for shutdown signal Signed-off-by: Gregory Hill <[email protected]> * store not swap Signed-off-by: Gregory Hill <[email protected]> * doesn't need to be async, update doc comment Signed-off-by: Gregory Hill <[email protected]> * address review: use existing backgroud channel Co-authored-by: Niklas Adolfsson <[email protected]>
parent
854002d6
Please register or sign in to comment