# AsyncProcedure in maplibre::io::apc - Rust
Type definitions for asynchronous procedure calls. These functions can be called in an `AsyncProcedureCall`. Functions of this type are required to be statically available at compile time. It is explicitly not possible to use closures, as they would require special serialization which is currently not supported.

# Type Alias maplibre::io::apc::AsyncProcedure

source ·

    pub type AsyncProcedure<K, C> = fn(input: Input, context: C, kernel: K) -> AsyncProcedureFuture;

Expand description

Type definitions for asynchronous procedure calls. These functions can be called in an `AsyncProcedureCall`. Functions of this type are required to be statically available at compile time. It is explicitly not possible to use closures, as they would require special serialization which is currently not supported.