Function tryAsync

  • Tries to run an async function and resolves with :ok(value) if the function resolved or :err(error) if the function rejected.

    Parameters

    • func: any

    Returns Promise<any>

Generated using TypeDoc