Function synchronized

  • let async function only invoke at once in same time

    Type Parameters

    Parameters

    • func: T

      the function to be processed

    Returns T

    the wrapped function instance

    Since

    5.20.0