Skip to content

Add CancellationToken support to all async APIs (v11.0.0)

Choose a tag to compare

@feinoujc feinoujc released this 16 Nov 16:33

BREAKING Add CancellationToken support to all async APIs (v11.0.0) by @feinoujc in #369

Every async method on the public IMandrill*Api interfaces and their implementations now accepts an optional trailing CancellationToken cancellationToken = default, which is forwarded through the request pipeline to HttpClient.PostAsync and response deserialization.

This is source compatible for callers but binary breaking, and breaks third-party implementations of the interfaces, so the version is bumped to 11.0.0.

Full Changelog: v10.0.1...v11.0.0