alef 0.32.9

Opinionated polyglot binding generator for Rust libraries
Documentation
1
2
3
4
5
6
7
/// Drive `{{ owner_path }}::{{ ep_method }}` from JavaScript.
///
/// Each entry in `registrations` is a `[method_name, metadata, callback]` triple
/// produced by the TypeScript service class.
#[napi]
#[allow(clippy::type_complexity)]
pub async fn {{ fn_name }}({{ param_sig }}) -> napi::Result<{{ return_ty }}> {