Roblox API Reference

MessageBusService 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 (11)

Type Member History
Variant Call (string key, Variant input)
Variant GetLast (string mid)
string GetMessageId (string domainName, string messageName)
string GetProtocolMethodRequestMessageId (string protocolName, string methodName) 498
string GetProtocolMethodResponseMessageId (string protocolName, string methodName) 498
void Publish (string mid, Variant params)
void PublishProtocolMethodRequest (string protocolName, string methodName, Variant message, Variant customTelemetryData) 498
void PublishProtocolMethodResponse (string protocolName, string methodName, Variant message, int responseCode, Variant customTelemetryData) 498
Instance Subscribe (string mid, Function callback, bool once, bool sticky)
Instance SubscribeToProtocolMethodRequest (string protocolName, string methodName, Function callback, bool once, bool sticky) 498
Instance SubscribeToProtocolMethodResponse (string protocolName, string methodName, Function callback, bool once, bool sticky) 498
51 members inherited from Instance

History

Members

Call On DevHub

Name Type Default
key string none
input Variant none

GetLast On DevHub

Name Type Default
mid string none

GetMessageId On DevHub

Name Type Default
domainName string none
messageName string none

GetProtocolMethodRequestMessageId On DevHub

Name Type Default
protocolName string none
methodName string none

History

GetProtocolMethodResponseMessageId On DevHub

Name Type Default
protocolName string none
methodName string none

History

Publish On DevHub

Name Type Default
mid string none
params Variant none

PublishProtocolMethodRequest On DevHub

Name Type Default
protocolName string none
methodName string none
message Variant none
customTelemetryData Variant none

History

PublishProtocolMethodResponse On DevHub

Name Type Default
protocolName string none
methodName string none
message Variant none
responseCode int none
customTelemetryData Variant none

History

Subscribe On DevHub

Name Type Default
mid string none
callback Function none
once bool none
sticky bool none

SubscribeToProtocolMethodRequest On DevHub

Name Type Default
protocolName string none
methodName string none
callback Function none
once bool none
sticky bool none

History

SubscribeToProtocolMethodResponse On DevHub

Name Type Default
protocolName string none
methodName string none
callback Function none
once bool none
sticky bool none

History

Relevant classes (1)