Skip to content

v0.7.0

Choose a tag to compare

@birdnamoo birdnamoo released this 11 Oct 06:32
· 0 commits to 9be18848b6e085d2e7b83781969c6d6d7165a91d since this release

Changed

  • CronexScheduler.StopAsync takes a CancellationToken (StopAsync(CancellationToken cancellationToken = default)).
    It bounds the wait for handlers already dispatched, as a host's shutdown timeout does: when the token is cancelled
    first, StopAsync throws OperationCanceledException and a handler that ignores its own token keeps running.
    Without a token the behaviour is unchanged. Breaking for binaries compiled against 0.6.x (the method signature
    changed); source that calls StopAsync() compiles unchanged.
  • The packages now carry the LICENSE text, so an application that redistributes them can ship the MIT notice
    from the package itself.