Type Definition metacall::MetacallFutureHandler

source ·
pub type MetacallFutureHandler = fn(_: Box<dyn MetacallValue>, _: Box<dyn MetacallValue>);
Expand description

Function pointer type used for resolving/rejecting Metacall futures. The first argument is the result and the second argument is the data that you may want to access when the function gets called. Checkout MetacallFuture resolve or MetacallFuture reject for usage.