PublishAsync publishes a message to JetStream and returns a PubAckFuture. The data should not be changed until the PubAckFuture has been processed.
(subj string, data []byte, opts ...PubOpt)
| 47 | // PublishAsync publishes a message to JetStream and returns a PubAckFuture. |
| 48 | // The data should not be changed until the PubAckFuture has been processed. |
| 49 | PublishAsync(subj string, data []byte, opts ...PubOpt) (PubAckFuture, error) |
| 50 | |
| 51 | // PublishMsgAsync publishes a Msg to JetStream and returns a PubAckFuture. |
| 52 | // The message should not be changed until the PubAckFuture has been processed. |
no outgoing calls