• Executes provided function with streaming callback in async local storage which can be retrieved using getStreamingCallback.

    Type Parameters

    • S
    • O

    Parameters

    Returns O