Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add timeout option for the sendRpcRequest() #180

Open
joojis opened this issue Sep 12, 2018 · 0 comments
Open

Add timeout option for the sendRpcRequest() #180

joojis opened this issue Sep 12, 2018 · 0 comments
Labels
good first issue Good for newcomers rpc

Comments

@joojis
Copy link
Contributor

joojis commented Sep 12, 2018

src/rpc/index.ts

Current

public sendRpcRequest = (name: string, params: any[]): Promise<any>

Patch

public sendRpcRequest = (name: string, params: any[], options?: { timeout?: number }): Promise<any>
@joojis joojis added good first issue Good for newcomers rpc labels Sep 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers rpc
Projects
None yet
Development

No branches or pull requests

1 participant