Something I just stumbled on, when navigating the Async compliant ssh provider to an empty directory on a filesystem, it returns nothing except complete. No data is returned (which is compliant with the API as the API doesn't keep track of if data has been returned, just that the data that is returned is valid), and thus the consumer has absolutely no idea what happened and it is told the read was completed.
We should probably update the spec a bit to require the TYPE key in the data field with every data return (even empty data tables).
Something I just stumbled on, when navigating the Async compliant ssh provider to an empty directory on a filesystem, it returns nothing except complete. No data is returned (which is compliant with the API as the API doesn't keep track of if data has been returned, just that the data that is returned is valid), and thus the consumer has absolutely no idea what happened and it is told the read was completed.
We should probably update the spec a bit to require the
TYPE
key in the data field with every data return (even empty data tables).