Skip to content

Interface instead of individual methods #13

@gilliganc

Description

@gilliganc

I noticed both with calls in and the calls back to the host you always need to provide the method names and Params by hand. I was wondering if maybe you could use generics and interfaces instead to make it strongly typed and less error prone and get compile time checks. As well as maybe a runtime check method you could call to check the wsam implements the interface as well so you could error nicely.

Now you have call backs to the host I plan to start using your lib so this is from someone that has only looked at the examples so sorry if someone like it already exists. If it is not possible I can always just put add a class as a custom wrapper but built in would be better.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions