async

Returns an observable that emits only when the provided block of code has completed, This block will be executed whenever a new subscription is made.

Parameters

block

The block of code to receive the observer with which to emit downstream.