dat-node icon indicating copy to clipboard operation
dat-node copied to clipboard

Synchronous getArchive

Open RangerMauve opened this issue 7 years ago • 2 comments

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.

RangerMauve avatar Aug 31 '18 18:08 RangerMauve

This might not be easy to do with the current codebase

pfrazee avatar Sep 02 '18 22:09 pfrazee

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.

RangerMauve avatar Sep 04 '18 13:09 RangerMauve