Add context.Context to NewWriter func
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!