Same as askUnliftIO, but returns a monomorphic function instead
of a polymorphic newtype wrapper. If you only need to apply the
transformation on one concrete type, this function can be more
convenient.
Capture the current monadic context, providing the ability to run
monadic actions in IO.
See UnliftIO for an explanation of why we need a helper
datatype here.
Prior to version 0.2.0.0 of this library, this was a method in the
MonadUnliftIO type class. It was moved out due to
https://github.com/fpco/unliftio/issues/55.