Skip to content

feat request: func Wick Type like WIT type #465

@DougAnderson444

Description

@DougAnderson444

feature request
The WIT model has func types, but it appears Wick IT does not?

For example, you can define a func that is the host's console_log to log output on the host from the WIT component.

Propose a solution
Add an importable host type called func (or if this is possible already, description/docs how to use it)

Describe alternatives you've considered
I'm new to Wick, so I don't see an alternative, but perhaps one exists?

Additional context
I'd like to be able to generate HTML from my Wick component, and then addEventListener using the browser's host function for this. I've done this with WIT and would like to try it with Wick.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesttriageTo be triaged

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions