-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
area-core-librarySDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries.SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries.closed-not-plannedClosed as we don't intend to take action on the reported issueClosed as we don't intend to take action on the reported issuelibrary-iotype-enhancementA request for a change that isn't a bugA request for a change that isn't a bug
Description
This issue was originally filed by jjinux...@google.com
In one of Seth Ladd's slides, he has this:
main() {
File script = new File(new Options().script);
script.directory().then((Directory d) {
runServer(d.path);
});
}
This requires an asynchronous callback to get d.path. As far as I know, UNIX doesn't actually have an asynchronous file API, so this must be using a thread under the covers. Using a thread in order to provide an asynchronous API with a callback makes both the implementation and the API a lot more complicated, and I don't think there's much benefit in this case.
Metadata
Metadata
Assignees
Labels
area-core-librarySDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries.SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries.closed-not-plannedClosed as we don't intend to take action on the reported issueClosed as we don't intend to take action on the reported issuelibrary-iotype-enhancementA request for a change that isn't a bugA request for a change that isn't a bug