xstream

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Delayed

func Delayed(delay time.Duration, events <-chan event.Event) <-chan event.Event

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

func DelayedFunc

func DelayedFunc(fn func(prev event.Event) time.Duration, events <-chan event.Event) <-chan event.Event

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