PcoWSkbVqDnWTu_dm2ix
Collapse Sidebar

PublishAsync

This function sends the provided message to all subscribers to the topic, triggering their registered callbacks to be invoked.

Yields until the message is received by the backend.

See also

  • articles/cross server messaging, explores how to communicate between game servers in greater detail with relevant code samples
  • MessagingService/SubscribeAsync, begins listening to the given topic

Parameters

Name Type Default Description

Determines where the message is sent

The data to include in the message

Returns

Return Type Summary

No return