Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Asynchrony as a service
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