You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
352de97 Add example for IsQuit, demonstrating function execution does not occur.
ffe7621 Add some useful functions, and test to ensure H does not satisfy context.Context interface for various compatibility reasons, such as someone accidentally using H as a context.
db4da66 Add test for calling Quit from multiple goroutines.
c1ac8c7 Added Quit, QuitAndWait, IsQuit, and tests. Reformatted test output slightly.
f0179cb Change Cancel to CancelAndWait, and add a Cancel function which only cancels ctx. This is useful in case CancelAndWait might produce a deadlock.
5a10649 Minor doc updates, slight changes to if statement within OnDone, rename quitonce to quitOnce.
95e2877 Remove Deadline return, this can be done by retrieving the context and manipulating it as desired. Ensure OnDone is only executed if the context has not been canceled, otherwise it's a no op. Update docs with more details.
d9f8956 Slight updates to documentation. Removed Done function, as the context Done channel can be returned via the context directly.
043d439 Update docs and CancelAndWait execution slightly.