Skip to content
This repository has been archived by the owner on Mar 31, 2023. It is now read-only.

Accept functions as parameter / return #3

Open
alexbarcelo opened this issue Nov 12, 2019 · 0 comments
Open

Accept functions as parameter / return #3

alexbarcelo opened this issue Nov 12, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@alexbarcelo
Copy link
Member

There is no way to pass a functional thingy as a parameter to a dataClay method (or as a return of it).

This includes lambda, functions or methods.

Some of those are not serializable (like lambda) and adding the feature may be challenging (like closures related to functions) and not a whole lot usefeul. However, supporting references to methods of registered classes seems a little more manageable and may be suited for certain use cases.

We may add this feature for all or a subset of functional thingies.

@alexbarcelo alexbarcelo added the enhancement New feature or request label Nov 12, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant