CodeChain-io / CodeChain-io/codechain-sdk-js

Add timeout option for the sendRpcRequest()

Open
#180 0 comments 0 reactions 0 assignees View on GitHub
good first issue rpc
Dominant language
TypeScript
Stars
26
Forks
14
PR merge metrics
No merged PRs in 30d

Description

`src/rpc/index.ts`

Current
```
public sendRpcRequest = (name: string, params: any[]): Promise
```

Patch
```
public sendRpcRequest = (name: string, params: any[], options?: { timeout?: number }): Promise
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.