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

[Question] - Sample code #70

Open
savage-eagle opened this issue Nov 10, 2020 · 0 comments
Open

[Question] - Sample code #70

savage-eagle opened this issue Nov 10, 2020 · 0 comments

Comments

@savage-eagle
Copy link

Hi, I'm facing some issues with process that some functions are initialized before the process start and should be called inside this new process due some dependecies, I found this code from the docs

However, this also requires that any objects or coroutines used must be importable from the fresh child processes. Inner functions, lambdas, or object types defined at runtime, cannot be serialized to these freshly spawned processes.

But how I should execute thoses functions inside this new process with aiomultiprocess? Didn't kinda understood "must be importable from the fresh child processes".

Regards,
Savage.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant