Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Isolate.spawn API doc doesn't state it can't be used in a web app #16209

Closed
DartBot opened this issue Jan 20, 2014 · 6 comments
Closed

Isolate.spawn API doc doesn't state it can't be used in a web app #16209

DartBot opened this issue Jan 20, 2014 · 6 comments
Labels
area-core-library SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries. closed-duplicate Closed in favor of an existing report docs-api library-isolate type-documentation A request to add or improve documentation

Comments

@DartBot
Copy link

DartBot commented Jan 20, 2014

This issue was originally filed by @sethladd


We can save developers time by stating that spawn doesn't work in Dartium apps. I didn't realize that, until I got this error:

'IsolateSpawnException: 'spawnFunction is not supported from a dom-enabled isolate. Please use spawnUri instead.''

Thanks!

(API doc request)

@kasperl
Copy link

kasperl commented Jan 20, 2014

Added Area-Documentation, Triaged labels.

@DartBot
Copy link
Author

DartBot commented Mar 10, 2014

This comment was originally written by @butlermatt


Additional to this, the error states 'spawnFunction' which appears to have been renamed to just spawn (?). Error for this should be updated to properly display the called functioned 'spawn()'.

@kwalrath
Copy link
Contributor

Added Library-Isolate, Docs-API labels.

@lrhn
Copy link
Member

lrhn commented Mar 20, 2014

Issue #17647 has been merged into this issue.

@kwalrath
Copy link
Contributor

kwalrath commented Jun 4, 2014

Removed Type-Defect, Area-Documentation labels.
Added Type-Documentation, Area-Library labels.

@lrhn
Copy link
Member

lrhn commented Oct 29, 2014

This is not something that Isolate.spawn should document, because it's really a defect of the Dartium implementation of isolates, not a feature of Isolate.spawn.


Added Duplicate label.
Marked as being merged into #17649.

@DartBot DartBot added type-documentation A request to add or improve documentation Priority-Unassigned area-core-library SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries. library-isolate docs-api closed-duplicate Closed in favor of an existing report labels Oct 29, 2014
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-core-library SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries. closed-duplicate Closed in favor of an existing report docs-api library-isolate type-documentation A request to add or improve documentation
Projects
None yet
Development

No branches or pull requests

5 participants