-
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Error: Expected a value of type 'String', but got one of type '(Map<dynamic, dynamic>) => void' #17
Comments
I assume it works now, closing this issue. Feel free to reopen if you need further help. |
@d-markey, read your answer, will try the way suggested in docs, I just do not have time to try it right now (reads web target is not very important). |
d-markey
added a commit
that referenced
this issue
Jun 6, 2023
…mize serialization overhead. Replace previous `WorkerRequest` and `WorkerResponse` implementations with extension methods. This may be a breaking change. - Add `EntryPoint` and `PlatformWorker` typedefs to enforce type safety across runtime platforms. `EntryPoint` and `PlatformWorker` should both resolve to `dynamic` in the IDE. At compile time, they should resolve to the concrete types according to the platform (ie. `String` and `Worker` from `dart:html` for Web platforms, `FutureOr Function(List)` and `Isolate` on native platforms). This should help prevent issues such as #17. - Provide access to platform worker instance upon initialization. See #20.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Just want to ask maybe you can give me a hint on this error? Running on web target in Chromium: Version 110.0.5481.77 (Official Build) Fedora Project (64-bit)
flutter doctor
:Squadron: ^4.3.3
The text was updated successfully, but these errors were encountered: