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

Contest resolve callback #18

Closed
cbchouinard opened this issue Mar 2, 2015 · 2 comments
Closed

Contest resolve callback #18

cbchouinard opened this issue Mar 2, 2015 · 2 comments
Labels

Comments

@cbchouinard
Copy link
Contributor

Can you give me a use case for the resolve callback of Thenable.contest()? Since resolve is called after score, I'm not sure when I wouldn't want to accept a solution that I choose during scoring (unless default scoring is used).

@bergie
Copy link
Contributor

bergie commented Mar 2, 2015

@cbchouinard the resolve callback can be used for looping the contest, for example "keep solving and scoring sections until we have shown all the content"

@bergie bergie closed this as completed Mar 2, 2015
@paulyoung
Copy link
Contributor

@bergie said:

What it is used for is determining whether the contest was "enough". If not, the contest node is cloned to under the current contest and run again. This allows looping contests until all items have been eaten, for instance

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

No branches or pull requests

3 participants