Roblox API Reference

MessagingService On DevHub

Summary

This class is not creatable. An object of this class cannot be created with Instance.new.
This class is a service. It is a singleton that may be acquired with GetService.
This item is not replicated. Its interface does not cross the network boundary.

Tags: [NotCreatable, Service, NotReplicated]

Inherits (1)

Member index (2)

Type Member History
null PublishAsync (string topic, Variant message) 573
RBXScriptConnection SubscribeAsync (string topic, Function callback)
57 members inherited from Instance

History

Members

PublishAsync On DevHub

This function yields. It will block the calling thread until completion.
Name Type Default
topic string none
message Variant none

History

Tags: [Yields]

SubscribeAsync On DevHub

This function yields. It will block the calling thread until completion.
Name Type Default
topic string none
callback Function none

Tags: [Yields]