Closed bschwind closed 3 years ago
@strohel @mcginty @skywhale I changed the blocking function to be named run
, as block_on
is a bit weird when you don't pass it any arguments. Do you have any other suggestions for the name?
@strohel @mcginty @skywhale I changed the blocking function to be named
run
, asblock_on
is a bit weird when you don't pass it any arguments. Do you have any other suggestions for the name?
My only beef is that run
and spawn
are almost synonymous. run_and_block
might be more understandable even if it's a bit verbose?
run_and_block
, blocking_run
- are there any other suggestions? I'll wait a bit on this and see what the consensus is.
Yeah run_and_block()
is cool, it's true that run_on_main()
was misleading.
Closes #10
I need to add more documentation but otherwise should be ready for review.