utils

package
v0.0.13 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 28, 2026 License: MIT Imports: 6 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const AttributeAgentName = "lk.agent.name"

Variables

This section is empty.

Functions

func WaitForAgent

func WaitForAgent(ctx context.Context, room *lksdk.Room, agentName string) (*lksdk.RemoteParticipant, error)

func WaitForParticipant

func WaitForParticipant(ctx context.Context, room *lksdk.Room, identity string, kind livekit.ParticipantInfo_Kind) (*lksdk.RemoteParticipant, error)

func WaitForTrackPublication

func WaitForTrackPublication(ctx context.Context, room *lksdk.Room, identity string, kind livekit.TrackType) (*lksdk.RemoteTrackPublication, 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)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL