Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.

Update docs: Finance, Tokens and Voting#236

Merged
bpierre merged 25 commits intomasterfrom
documentation-updates
Aug 26, 2020
Merged

Update docs: Finance, Tokens and Voting#236
bpierre merged 25 commits intomasterfrom
documentation-updates

Conversation

@bpierre
Copy link
Copy Markdown
Contributor

@bpierre bpierre commented Aug 25, 2020

Builds on #233 (should be merged after).

It documents the possibility of omitting the callback in onX methods, and also adds objects that were not documented:

Finance:

  • TokenBalance
  • Transaction

Tokens:

  • Token
  • TokenHolder

Voting:

  • Vote
  • Cast

bpierre added 24 commits August 21, 2020 02:56
This is needed to pass errors with subscriptions, the same way we do it
for the async functions by throwing errors.

Contains the following changes:

- Add the add SubscriptionCallback type.
- Add types to all the subscriptions methods.
- Move all the subscription methods to use node-style callbacks.
- Update documentation and examples.
Rather than separate ones, which creates less updates.
Together, this utility and type can be used to help app connectors
declare their subscriptions easily.
@bpierre bpierre changed the base branch from master to react-improvements August 25, 2020 09:24
@bpierre bpierre requested a review from 0xGabi August 25, 2020 15:27
Base automatically changed from react-improvements to master August 26, 2020 00:19
@bpierre bpierre merged commit f4f081f into master Aug 26, 2020
@bpierre bpierre deleted the documentation-updates branch August 26, 2020 00:22
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants