Skip to content
This repository has been archived by the owner on May 2, 2022. It is now read-only.

make it possible to include lambdas in tasks #12

Open
TaiSakuma opened this issue Sep 16, 2017 · 1 comment
Open

make it possible to include lambdas in tasks #12

TaiSakuma opened this issue Sep 16, 2017 · 1 comment

Comments

@TaiSakuma
Copy link
Member

currently, it is impossible for a task in concurrently to include lambda. this is because lambda isn't picklable.

there are several solutions there to serialize lambdas, including dill.

note that unlike results, tasks are generally small. serializing and unserializing are not necessary to be very fast.

@TaiSakuma
Copy link
Member Author

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

No branches or pull requests

1 participant