juxt

Asynchronously calls every function in FUNCS using the given arguments, and returns all of the values in a tuple.

template juxt(FUNCS...)
juxt
(
ARGS...
)
(
auto ref ARGS args
)

Members

Functions

juxt
auto juxt(ARGS args)

Asynchronously calls every function in FUNCS using the given arguments, and returns all of the values in a tuple.

Parameters

args

The arguments to call F on.

Return Value

A tuple of all returned values from every function in FUNCS.

Remarks: Race conditions are very likely, make sure that the functions are thread safe.

Meta