MessagingService
This class is not replicated. Its interface does not cross the network boundary.
This class is not creatable. Instances of this class cannot be created with Instance.new.
This class is a service. It is a singleton that may be acquired with GetService.
Memory category | Instances |
---|
Member index 2
History 6
- 573 Change ReturnType of PublishAsync from void to null
- 462 Change ThreadSafety of SubscribeAsync from to Unsafe
- 462 Change ThreadSafety of PublishAsync from to Unsafe
- 367 Add SubscribeAsync
- 367 Add PublishAsync
- 367 Add MessagingService
Members 2
PublishAsync
Parameters (2) | ||
---|---|---|
topic | string | |
Returns (1) | ||
null |
This function yields. It will block the calling thread until completion.
Thread safety | Unsafe |
---|
History 3
- 573 Change ReturnType of PublishAsync from void to null
- 462 Change ThreadSafety of PublishAsync from to Unsafe
- 367 Add PublishAsync
SubscribeAsync
Parameters (2) | ||
---|---|---|
topic | string | |
callback | Function | |
Returns (1) | ||
RBXScriptConnection |
This function yields. It will block the calling thread until completion.
Thread safety | Unsafe |
---|
History 2
- 462 Change ThreadSafety of SubscribeAsync from to Unsafe
- 367 Add SubscribeAsync