/// 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]
pub async fn {{ fn_name }}({{ param_sig }}) -> napi::Result<{{ return_ty }}> {