Skip to content

Releases: dsbasko/go-gs

v1.0.0

06 Mar 09:46
Compare
Choose a tag to compare

Release basic features.

Available functions:

  • NewContext(ctx, ...signals) (gs, ctx, cancelFn);
  • NewChannel(...signals) (gs, stopCh)
  • gs.Subscribe()
  • gs.SubscribeN(count)
  • gs.Unsubscribe()
  • gs.UnsubscribeN(count)
  • gs.UnsubscribeFn(cleanFn)
  • UnsubscribeFnWithTimeout(cleanFn, timeout)
  • Count()
  • Wait()
  • WaitWithTimeout(timeout)

  • test coverage 100%
  • documentation
  • linet