Created
April 15, 2014 14:21
-
-
Save mattbarrett/10736594 to your computer and use it in GitHub Desktop.
Asynchrony as a service
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private void ExecuteAsync(long notional) | |
{ | |
_executablePrice.ExecuteRequest(notional, _parent.DealtCurrency) | |
.ObserveOn(_concurrencyService.Dispatcher) | |
.SubscribeOn(_concurrencyService.ThreadPool) | |
.Subscribe(OnExecutedResult, OnExecutionError); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment