Search and commands

↑ ↓ to select · Enter to open · Esc to close

Type to search packages.

subject

v0.0.0-20240711162211-159a3375b30a
taylz.io/http/websocket/subject

Documentation

pkg.go.dev ↗

Table of contents

↓ to select · Enter to jump· Shift+Enter for source

8 matches

Top ↑

Types

SubKey

type SubKey uint

T

type T[D any] struct {
	Name string
	// contains filtered or unexported fields
}

T[D].Current

func (t *T[D]) Current() (d D)

T[D].Subscribe

func (t *T[D]) Subscribe(callback func(D) error) (k SubKey)

T[D].Unsubscribe

func (t *T[D]) Unsubscribe(k SubKey)

T[D].Update

func (t *T[D]) Update(data D)

T[D].Version

func (t *T[D]) Version() int

Dependency graph