Is your feature request related to a problem? Please describe.
We want to use asynq to stream some messages, once the server publishes the message in the channel, the client can get the message.
Describe the solution you'd like
Add Publish to publish the message to the channel, and GetSubPub to directly get the sub pub for the client to handle the response.
PR: #736
Describe alternatives you've considered
It is also great if we can wrap GetPubSub to Subscribe to return the message.
Is your feature request related to a problem? Please describe. We want to use asynq to stream some messages, once the server publishes the message in the channel, the client can get the message.
Describe the solution you'd like Add
Publish
to publish the message to the channel, andGetSubPub
to directly get the sub pub for the client to handle the response.PR: #736
Describe alternatives you've considered It is also great if we can wrap
GetPubSub
toSubscribe
to return the message.Additional context