Skip to content

Instantly share code, notes, and snippets.

@deanwampler
Last active January 28, 2020 00:10
Show Gist options
  • Save deanwampler/12a7e253f619810f2b8384084acfc44e to your computer and use it in GitHub Desktop.
Save deanwampler/12a7e253f619810f2b8384084acfc44e to your computer and use it in GitHub Desktop.
times = range(5,30,5) # 5, 10, ...
ids = [busy.remote(i) for i in times] # Each waits progressively longer
for x in list(zip(times, ids)): # Show what we have, a list of ids and the times each one will take
print(x)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment