signal

package
v0.0.11 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Map

func Map[T, V any](s rx.Signal[T], f func(T) V) rx.Signal[V]

Map implements Functor for Signal[T]. It creates a new signal, and therefore does not notify subscribers

func New

func New[T any](v T) rx.Signal[T]

Types

type Subscriber

type Subscriber[T any] func(T)

Jump to

Keyboard shortcuts

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