I don't think this library can handle a promise here - of course, there is a race condition if the header returns after the array, but I think the users of the library can handle this race condition :)
So my request is for you to support a promise to retrieve the header, thanks!
I can use a promise to retrieve the rows for the csv file, but I cannot seem to use a promise to retrieve the header, e.g.:
I don't think this library can handle a promise here - of course, there is a race condition if the header returns after the array, but I think the users of the library can handle this race condition :)
So my request is for you to support a promise to retrieve the header, thanks!