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

Log from compute or Isolate #47

Closed
codeknox opened this issue Jun 5, 2020 · 2 comments
Closed

Log from compute or Isolate #47

codeknox opened this issue Jun 5, 2020 · 2 comments
Assignees
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@codeknox
Copy link

codeknox commented Jun 5, 2020

This library looks pretty good, but the current app I work on requires some offload into Isolates.
I'm having the usual

I cannot send Alice as parameter to the Isolate, because:
Unhandled Exception: Invalid argument(s): Illegal argument in isolate message : (object is a closure - Function '<anonymous closure>':.)

and off course cannot access Alice instance from there too, so I'm stuck.

Any suggestions?

@jhomlala
Copy link
Owner

Can you paste some minimal example code? It'll be helpful to debug this problem.

@jhomlala jhomlala self-assigned this Jun 14, 2020
@jhomlala jhomlala added bug Something isn't working help wanted Extra attention is needed labels Jun 14, 2020
@jhomlala
Copy link
Owner

Check this issue here: dart-lang/sdk#38964
You're probably not sending top level function to isolate.

@jhomlala jhomlala closed this as completed Aug 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants