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 (13)

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
null MakeRequest (string protocolName, string methodName, Variant message, Function callback, Variant customTelemetryData) 565 570 573
null Publish (string mid, Variant params) 573
null PublishProtocolMethodRequest (string protocolName, string methodName, Variant message, Variant customTelemetryData) 498 573
null PublishProtocolMethodResponse (string protocolName, string methodName, Variant message, int responseCode, Variant customTelemetryData) 498 573
null SetRequestHandler (string protocolName, string methodName, Function callback) 565 573
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
57 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

MakeRequest On DevHub

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

History

Publish On DevHub

Name Type Default
mid string none
params Variant none

History

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

SetRequestHandler On DevHub

Name Type Default
protocolName string none
methodName string none
callback Function 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)