of_supply_func


Description:

public static Seq<G> of_supply_func<G> (owned SupplyFunc<G> func, TaskEnv? env = null)

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

Parameters:

func

a supply function

env

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

Returns:

the result seq