package
module
Version:
v0.0.1
Opens a new window with list of versions in this module.
Published: Jul 16, 2022
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
Documentation
¶
Assert helps to write better test code.
func Generate[T any](values ...T) <-chan T
Generate sends each value to the out channel.
Main ensures guarded calls to the main thread.
func Merge[T any](in ...<-chan T) <-chan T
Merge sends each value from a list of input channels to the out channel.
func Process[T any](in <-chan T, fn func(in T) T) <-chan T
Process works on each value from an input channel and
sends the result to an output channel.
Run handles calls to "main-thread-sensitive" libraries by
using the main OS thread only.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.