Skip to content

Add helper method to client to call functions #1468

@w666

Description

@w666

Something like below

client.callAsync(methodName: string, ...) {
    this.client[`${methodName}Async`];
}

it should validate that method exists on the client and throw useful error message

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions