Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Resource.init method detection #21

Open
Marak opened this issue Jun 18, 2013 · 0 comments
Open

Add Resource.init method detection #21

Marak opened this issue Jun 18, 2013 · 0 comments

Comments

@Marak
Copy link
Member

Marak commented Jun 18, 2013

When using a resource check to see if the resource has a resource.init method. If this method is available on the resource then execute it immediately.

The Resource.init method will be used to indicate the resource requires some asynchronous operation before it can be Resource.start.

In Resource.start it's expected that something will happen ( like starting a service ).
In Resource.init it's expected that nothing outside of initializing the resource will happen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant