Skip to content

v1.0.0

Choose a tag to compare

@github-actions github-actions released this 18 Aug 15:53
· 2 commits to master since this release
v1.0.0
0022712

Changelog

  • 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.
  • 286a366 Initial commit.
  • 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.
  • 0022712 Update docs in examples slightly.
  • ab622ba Update readme example with CancelAndWait.