pachadotdev / analogsea

Digital Ocean R client
https://pacha.dev/analogsea/
Apache License 2.0
155 stars 24 forks source link

Need wait function #38

Closed hadley closed 10 years ago

hadley commented 10 years ago

Should poll actions until all pending events complete. That would make it easier to write pipes like:

d %>% 
  droplet_power_off() %>% 
  droplet_wait() %>% 
  droplet_snapshot() %>%
  droplet_wait() %>%
  droplet_delete()
sckott commented 10 years ago

right, that's something I've sort of not dealt with at all yet, def need a wait fxn. Seems like the wait fxn should be crafted carefully so as to fail gracefully