namespace ComposableAsync
{
///
/// extension
///
public static class DispatcherProviderExtension
{
///
/// Returns the underlying
///
///
///
public static IDispatcher GetAssociatedDispatcher(this IDispatcherProvider dispatcherProvider)
{
return dispatcherProvider?.Dispatcher ?? NullDispatcher.Instance;
}
}
}