astahlman / ob-async

Asynchronous src_block execution for org-babel
343 stars 32 forks source link

Use callbacks instead of fixed sleep in test cases #49

Closed astahlman closed 5 years ago

astahlman commented 5 years ago

Stop sleeping for a fixed amount of time in our test cases while we wait for results. Instead, add a macro that allows us to run code at two points in time:

  1. Immediately after executing ctrl-c-ctrl-c
  2. After the src-block is done executing

The tests now run in roughly half the time that they took previously.