Skip to content

Instantly share code, notes, and snippets.

@mattbarrett
mattbarrett / gist:10736594
Created April 15, 2014 14:21
Asynchrony as a service
private void ExecuteAsync(long notional)
{
_executablePrice.ExecuteRequest(notional, _parent.DealtCurrency)
.ObserveOn(_concurrencyService.Dispatcher)
.SubscribeOn(_concurrencyService.ThreadPool)
.Subscribe(OnExecutedResult, OnExecutionError);
}