alef 0.24.17

Opinionated polyglot binding generator for Rust libraries
Documentation
1
2
3
4
5
6
7
8
9
  /**
{% if doc %}
   * {{ doc }}
{% endif %}
   */
  {{ method_name }}(handler: (...args: any[]) => {% if is_async %}Promise<void>{% else %}void{% endif %}): this {
    this._app.{{ method_name }}(handler);
    return this;
  }