flow-go-sdk
flow-go-sdk copied to clipboard
Expose subscription option on the Client
Description
This PR change the access.Client
event subscription methods so they expose options for subscribing. More specifically setting heartbeat interval. Since this options are not protocol specific (grpc/http) they should be exposed and configurable on the interface type.
For contributor use:
- [ ] Targeted PR against
master
branch - [ ] Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
- [ ] Code follows the standards mentioned here.
- [ ] Updated relevant documentation
- [ ] Re-reviewed
Files changed
in the Github PR explorer - [ ] Added appropriate labels