Skip to content
This repository was archived by the owner on Dec 5, 2019. It is now read-only.
This repository was archived by the owner on Dec 5, 2019. It is now read-only.

Process events handling API #14

@sazarkin

Description

@sazarkin

Can we add a bindings for process.on() ? https://nodejs.org/api/process.html

Something like this:

[@bs.send.pipe: Node.Process.t]
external on :
  (
  [@bs.string]
  [
    | `unhandledRejection(string => unit)
    | `SIGINT(unit => unit)
    | `SIGTERM(unit => unit)
  ]
  ) =>
  Node.Process.t =
  "";

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions