Function conch_runtime::spawn::function
[−]
[src]
pub fn function<A, E: ?Sized>(
name: &E::FnName,
args: A,
env: &E
) -> Option<Function<E::Fn, E>> where
E: FunctionEnvironment + SetArgumentsEnvironment,
E::Args: From<A>,
E::Fn: Clone + Spawn<E>,
Creates a future adapter that will attempt to execute a function (if it has been defined) with a given set of arguments.