fast-check icon indicating copy to clipboard operation
fast-check copied to clipboard

Better waitAll on scheduler

Open dubzzz opened this issue 7 months ago • 2 comments

💡 Idea

While waitAll is not the best option as it tend not to be explicit on what the user want (mostly regarding the speed of scheduling), it's still the simplest option in many case.

We should make it able to wait less strictly. While playing around with it, it appears that the simplest option is probably to wrap calls with custom acts either

  • not doing anything,
  • doing an extra await,
  • doing a sleep 0...

Well, these options might be directly offered on the scheduler at creation time.

dubzzz avatar Nov 27 '23 22:11 dubzzz