NativeScript / NativeScript/android
[koltin] auto create `kotlin.jvm.functions.FunctionX` when a JS function is passed
Open
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 563
- Forks
- 144
- Avg merge
- 10h 46m
- Merged PRs (30d)
- 14
Description
It would be very practical to be able to pass JS function directly instead of having to do new kotlin.jvm.functions.Function1(myJSFunctionWith1Arg)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files, tests, or entry points are identified in the issue. Start by locating the Android runtime's JavaScript-to-Kotlin function interop handling and determine how FunctionX wrappers are currently created; done means a JS function can be passed directly with the correct arity and the behavior is covered by tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, kotlin
- Domain
- mobile-dev
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100