Skip to content

Instantly share code, notes, and snippets.

@mrjjwright
Created March 13, 2010 23:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mrjjwright/331629 to your computer and use it in GitHub Desktop.
Save mrjjwright/331629 to your computer and use it in GitHub Desktop.
# Executes each part of the iPhone sync serially one after another.
# Makes use of the flow-js lib by Will Conant (http://github.com/willconant/flow-js)
iphone_sync_flow: ->
self: this
flow.exec(
->
new IPhoneVoicemail(self.username).sync(this)
->
new IPhoneCallHistory(self.username).sync(this)
->
self.emit("done")
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment