Broadcasting
Last updated
def show(self, Broadcast):
print(Broadcast) # prints the driver classdef show(self, BroadcastManager):
print(BroadcastManager.driver('ably')) # prints the ably driver classdef show(self, Broadcast):
Broadcast.channel('channel_name', 'message')def show(self, Broadcast):
Broadcast.channel('channel_name', {'message': 'hello world'})def show(self, Broadcast):
Broadcast.channel(['channel1', 'channel2'], {'message': 'hello world'})def show(self, Broadcast):
Broadcast.channel('channel_name', 'message', 'subscribed')