Unverified Commit 19d18bbc authored by Greg Hill's avatar Greg Hill Committed by GitHub
Browse files

[ws client]: add function to detect if the background task is canceled. (#243)



* add shutdown receiver to ws-client

Signed-off-by: default avatarGregory Hill <[email protected]>

* ws-client: no clone, use AtomicBool for shutdown signal

Signed-off-by: default avatarGregory Hill <[email protected]>

* store not swap

Signed-off-by: default avatarGregory Hill <[email protected]>

* doesn't need to be async, update doc comment

Signed-off-by: default avatarGregory Hill <[email protected]>

* address review: use existing backgroud channel

Co-authored-by: default avatarNiklas Adolfsson <[email protected]>
parent 854002d6
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment