Skip to content

add documentation to event-emitter #27

@coolaj86

Description

@coolaj86

We have here a bunch of code, but no documentation: https://github.com/neon-bindings/examples/tree/master/event-emitter

It would be nice to know:

  • How to build it? (probably something like npm install neon; neon build)
  • How to use it? (probably something like var EvEm = require("event-emitter"); ...)

It looks like there's a lot of code there. Could we perhaps pare it down to just an event emitter example and split the polling and other stuff into a second example?

It's probably perfect as-is for a quick reference for those that are familiar with Rust and with neon and I may be very much in the minority, but I'm looking at neon as an excuse to become more familiar with Rust and although I know that what I need is right in front of me, I don't know enough to easily pick it out yet.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions