`.when(callback)` used for conditional operations, it could be beneficial to have support in async operations