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 example for using parallel policies. #21

Merged
merged 7 commits into from
Jul 11, 2015

Conversation

devinivy
Copy link
Collaborator

Closes #11 .

@mark-bradshaw
Copy link
Owner

Did you forget the new policy files? Seems incomplete.

@devinivy
Copy link
Collaborator Author

Oops! That should be better.


var moonInPhase = function (request, reply, next) {

var now = (new Date()).getTime();
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could be Date.now()?

next(null, true);
});

}
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool example. :)

@mark-bradshaw
Copy link
Owner

Looks good. Once you're happy please merge. Night.

@devinivy
Copy link
Collaborator Author

👍 Goodnight!

devinivy added a commit that referenced this pull request Jul 11, 2015
Add example for using parallel policies.
@devinivy devinivy merged commit ecb8a3d into mark-bradshaw:master Jul 11, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants