Skip to content

isolate_manager in package connection problem #50

@FasAdrian

Description

@FasAdrian

I am using package isolate_manager: 6.0.1 in my custom package.
I created several custom functions annotated with @isolateManagerCustomWorker
Then I ran the script to generate .js worker files for the flutter web -> dart run isolate_manager:generate

When I used my package inside the project and tried to initialize the workers by adding mapping to IsolateManager, but it didn't work.
I wasn't able to load the functions from inside the package.... Only way that I discovered was copying the .js wokrer files into my flutter application, but this isn't the best approach.

Is there any other solution, so the workers are accessible from the package/web folder?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions