Skip to content

ItemPublished Constructors

Event payload for when an item is published to a broadcast channel.

ItemPublished(string, ChannelId, int)

View source
public ItemPublished(string providerName, ChannelId channelId, int subscriberCount)
Initializes an event without cluster identity.

Parameters

providerNamestring
channelIdChannelId
subscriberCountint

ItemPublished(string, ChannelId, int, SiloAddress?, string)

View source
public ItemPublished(string providerName, ChannelId channelId, int subscriberCount, SiloAddress? siloAddress, string clusterId)
Event payload for when an item is published to a broadcast channel.

Parameters

providerNamestring
The name of the broadcast channel provider.
channelIdChannelId
The channel ID.
subscriberCountint
The number of subscribers that will receive this item.
siloAddressSiloAddress?
The address of the silo publishing the item, if any.
clusterIdstring
The identifier of the cluster publishing the item.