This package has been deprecated

Author message:

I wrote this module a very long time ago; you should use something else.

godot-producer

0.0.1 • Public • Published

godot-producer

This is a library for creating third-party godot producers without too much rigamarole. It vendors the 'producer' library to keep the dependency tree down.

Example:

Here's a library I wrote that uses this.

API:

var ProducerStream = godotProducer(ctor, produce);

ctor is called inside the returned constructor with this being contextualized as your instantiated producer. produce is called when the "produce" method is called. Emit is monkey punched so that default production values are added automatically. ProducerStream has the added bonus of the ol' "if (!(this instanceof ProducerStream))" trick so you don't have to call it with the 'new' keyword (unless you want to).

License:

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i godot-producer

Weekly Downloads

4

Version

0.0.1

License

MIT

Last publish

Collaborators

  • jfhbrook