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

Async dispatcher support in the application state (ex: MyStore) #21

Closed
jcalfee opened this issue Jun 27, 2015 · 2 comments
Closed

Async dispatcher support in the application state (ex: MyStore) #21

jcalfee opened this issue Jun 27, 2015 · 2 comments

Comments

@jcalfee
Copy link

jcalfee commented Jun 27, 2015

Atl does not support async stores (data-store). A 'fire and forget' philosophy was attempted but this does not work especially where the state involves permanent storage. Since we are using IndexedDb, everything is async in the data-store.

Possible solutions are:

  1. NodeJs EventEmitter
  2. alt-resolve

This will provide a mechanism for the store to notify the view when an action is complete.

@jcalfee
Copy link
Author

jcalfee commented Jun 28, 2015

goatslacker/alt#122

@jcalfee jcalfee changed the title Support Async events in the application state (ex: MyStore) layer Async dispatcher support in the application state (ex: MyStore) Jun 28, 2015
@jcalfee
Copy link
Author

jcalfee commented Jun 29, 2015

We are going to follow goatslacker's "A naive example" goatslacker/alt#122 (comment)

@jcalfee jcalfee closed this as completed Jun 29, 2015
xeroc pushed a commit to BitSharesEurope/testnet.bitshares.eu that referenced this issue Apr 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant