• Accept a file promise and return an arraybuffer promise

    Parameters

    • promiseOrFile: File | Promise<File>

    Returns Promise<ArrayBuffer>