Skip to content

IChannelIdMapper.GetGrainKeyId(GrainBindings, ChannelId)

GetGrainKeyId(GrainBindings, ChannelId)

abstract
public abstract IdSpan GetGrainKeyId(GrainBindings grainBindings, ChannelId streamId)
Get the GrainId which maps to the provided ChannelId

Parameters

grainBindingsGrainBindings
The grain bindings.
streamIdChannelId
The stream identifier.

Returns

The GrainId component.