-
It appears that it is currently not possible to set a default callback in a global export or for a component. This would be very useful to have some indication (using debug) that a callback has been called when using the viewer. This is especially important for callbacks that return a value, where the viewer's For example an app that parses hexadecimal and prints ascii. You would create a |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I think you can do that, for example: export component Foo {
pure callback parse(string) -> string
parse(x) => { return x; }
} |
Beta Was this translation helpful? Give feedback.
I think you can do that, for example: