Skip to content

Instantly share code, notes, and snippets.

@Eluss
Created January 21, 2016 21:14
Show Gist options
  • Save Eluss/6431b5304970e75908d9 to your computer and use it in GitHub Desktop.
Save Eluss/6431b5304970e75908d9 to your computer and use it in GitHub Desktop.
bankAccountBalance.producer.startWithSignal { (signal, disposable) -> () in
signal.observeNext({ (value) -> () in
print(value)
})
signal.observeCompleted({ () -> () in
print("completed")
})
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment