Thanks to visit codestin.com
Credit goes to Github.com

Skip to content

Consider Url.abort() method #197

@wmiaw

Description

@wmiaw

In Java, the returned Future can be cancelled and this should interrupt the executing thread causing any blocking I/O to return early.

However there is no such mechanism in JavaScript and C++. JavaScript currently only tries to release interrupt any locks, and C++'s future does not support aborting. Consider defining Url.abort() to support this operation—something additional will also need to be done for C++ to expose access to a future.abort().

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions