of_supplier


Description:

public static Seq<G> of_supplier<G> (Supplier<G> supplier, TaskEnv? env = null)

Creates a new sequential infinite unordered seq, which each element is generated by the given supplier.

Parameters:

supplier

a supplier

env

a task environment. If not specified, TaskEnv.get_common_task_env is used.

Returns:

the result seq