jaredhanson / electrolyte

Elegant dependency injection for Node.js.
MIT License
564 stars 59 forks source link

Release 0.4.0 - IoC.create now returns promise, createAsync doesn't exist #56

Closed kingjerod closed 7 years ago

kingjerod commented 7 years ago

Looks like the latest release 0.4.0 got messed up. The container.create function now returns a promise, and the createAsync function shown in the docs does not exist.

jaredhanson commented 7 years ago

That's intentional. The docs are out of date (which is not intentional, of course).

kingjerod commented 7 years ago

Oh, ok.

rosesonfire commented 7 years ago

How to create without async? Please update the doc.

ashleydavis commented 3 years ago

The docs still seem to be out of date.