xstream

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Delayed

func Delayed[D any](delay time.Duration, events <-chan event.Of[D]) <-chan event.Of[D]

Delayed returns a Stream s that adds an artificial delay to calls to s.Next.

func DelayedFunc

func DelayedFunc[D any](fn func(prev event.Of[D]) time.Duration, events <-chan event.Of[D]) <-chan event.Of[D]

DelayedFunc returns a Stream s that adds an artificial delay to calls to s.Next.

Types

This section is empty.

Jump to

Keyboard shortcuts

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