Function
Overview
A Function object has the ability to be invoked or spawned as a Future with a given set of arguments.
Fields
.adicity
fn -> NumberGets the maximum expected arguments. If the function is variadic it will return the same value as Function.vlimit().
Statics
.call
fn [F: Function](callback: F, ...args: Any) -> AnyInvokes the callback function with the given arguments.
.apply
fn [F: Function](callback: F, args: List[Any]) -> AnyInvokes the callback function with the given arguments list.