Skip to content

Add context.Context to NewWriter func

Compare
Choose a tag to compare
@Xopherus Xopherus released this 21 Oct 20:46
· 41 commits to master since this release

In order to propagate signals to MessageWriters we have decided to add a context parameter to the NewWriter method defined on the Topic struct. Concrete implementations may opt-in to use this parameter. This is comparable to the decision that was made to provide a context for Receiver.

Shout out to @paultyng for the suggestion!