publishString abstract method

Future publishString(
  1. String message, {
  2. Map<String, String> attributes,
})

Publish a string as a message.

The message will get the attributes specified in attributes.

The attributes are passed together with the message to the receiver.

Returns a Future which completes with null when the operation is finished.

Implementation

Future publishString(String message, {Map<String, String> attributes});