-
Notifications
You must be signed in to change notification settings - Fork 12
Labels
bugBug or defectBug or defect
Milestone
Description
Lines 66 to 71 in baadcc8
| async regroup(options) { | |
| await this.work; | |
| this._init(options); | |
| } |
As titled, the regroup API should return the work output because:
- while you can collect the
attendoutput like this: - the regroup does not return the work's results
const team = new Teamwork.Team({ meetings: 2 });
ee.on('foo', ()=>{
team.attend('foo')
})
const out = await team.work
console.log(out) // prints ['foo', 'foo']It is not possibile to do the same with regroup:
const out = await team.regroup()
console.log(out) // undefinedDo you agree?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugBug or defectBug or defect