IChannelIdMapper.GetGrainKeyId(GrainBindings, ChannelId) Method

Definition

Get the Key which maps to the provided ChannelId

public Orleans.Runtime.IdSpan GetGrainKeyId (Orleans.Metadata.GrainBindings grainBindings, Orleans.BroadcastChannel.ChannelId streamId);
abstract member GetGrainKeyId : Orleans.Metadata.GrainBindings * Orleans.BroadcastChannel.ChannelId -> Orleans.Runtime.IdSpan
Public Function GetGrainKeyId (grainBindings As GrainBindings, streamId As ChannelId) As IdSpan

Parameters

grainBindings
GrainBindings

The grain bindings.

streamId
ChannelId

The stream identifier.

Returns

The Key component.

Applies to