Closed pliablepixels closed 9 years ago
tada.wav check README
Awesome! works great. I noticed you wrapped everything in timeouts. Is that recommended? I am calling your functions after the device is ready and have not wrapped in timeouts.
You mean timeouts in the example code? File writings are asynchronous command. Timeout are for waiting to finish file actions. If you use only the log writer methods you don't have to use timeout.
thanks. why do we need timeouts when they return promises?
It is just easier to read the example code. You can use promises as well.
I see. Thanks again.
Hello is there a portable way to get file size? I'd like to delete the file if it exceeds a particular limit to manage space.