package
0.36.0-rc.2
Repository: https://github.com/arduino/arduino-cli.git
Documentation: pkg.go.dev

# Functions

DiscardCh consumes all incoming messages from the given channel until it's closed.
Equals return a Matcher that matches the given value.
Filter takes a slice of type []T and a Matcher[T].
Map applies the Mapper function to each element of the slice and returns a new slice with the results in the same order.
NewFuture creates a new Future[T].
NotEquals return a Matcher that does not match the given value.
Reduce applies the Reducer function to all elements of the input values and returns the result.

# Interfaces

Future is an object that holds a result value.

# Type aliases

Mapper is a function that converts a value of one type to another type.
Matcher is a function that tests if a given value match a certain criteria.
Reducer is a function that combines two values of the same type and return the combined value.