dat-node
dat-node copied to clipboard
Synchronous getArchive
Currently it's really difficult to emulate the DatArchive API for webrun using this API because while I can await the archive to be loaded before invoking most of the methods, there's no way to do that with archive.watch() and other synchronous events.
This might not be easy to do with the current codebase
Yeah... I kinda assumed that. For now I'm gonna try to change my codebase to use DatArchive.load instead of new DatArchive and am gonna try to encourage it in docs.