Documentation
¶
Index ¶
- Constants
- func WaitForAgent(ctx context.Context, room *lksdk.Room, agentName string) (*lksdk.RemoteParticipant, error)
- func WaitForParticipant(ctx context.Context, room *lksdk.Room, identity string, ...) (*lksdk.RemoteParticipant, error)
- func WaitForTrackPublication(ctx context.Context, room *lksdk.Room, identity string, kind livekit.TrackType) (*lksdk.RemoteTrackPublication, error)
- type BoundedDict
Constants ¶
View Source
const AttributeAgentName = "lk.agent.name"
Variables ¶
This section is empty.
Functions ¶
func WaitForAgent ¶
func WaitForParticipant ¶
func WaitForParticipant(ctx context.Context, room *lksdk.Room, identity string, kind livekit.ParticipantInfo_Kind) (*lksdk.RemoteParticipant, error)
Types ¶
type BoundedDict ¶
type BoundedDict[K comparable, V any] struct { // contains filtered or unexported fields }
func NewBoundedDict ¶
func NewBoundedDict[K comparable, V any](maxSize int) *BoundedDict[K, V]
func (*BoundedDict[K, V]) Get ¶
func (c *BoundedDict[K, V]) Get(key K) (V, bool)
func (*BoundedDict[K, V]) Set ¶
func (c *BoundedDict[K, V]) Set(key K, value V)
Click to show internal directories.
Click to hide internal directories.