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 replay functionality #47

Open
gumil opened this issue Aug 19, 2019 · 2 comments
Open

Add replay functionality #47

gumil opened this issue Aug 19, 2019 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@gumil
Copy link
Owner

gumil commented Aug 19, 2019

Ability for Kaskade to save states and replay them later.

Replay action/states could be:

  1. replay(Map<Action, State>)

Optional:
2. replay(String) string json map of action and states
3. replay(File) file json of actions and states

We considered JSON as the format since it's more universal than other string markdown formats.

Number 2 and 3 might be implemented later or might be in a separate module to make the main module as lightweight as possible. This also means adding a json parser library and we don't want to add dependencies into the main module. A good idea would be to add an adapter to handle the parsing part.

It's also possible to make replay extensible as possible to be able to create user defined ways in replaying.

This should be started when #24 is done

@gumil gumil added the enhancement New feature or request label Aug 19, 2019
@gumil gumil self-assigned this Feb 16, 2020
@P1NG2WIN
Copy link

Any progress on it?

@gumil
Copy link
Owner Author

gumil commented Nov 2, 2020

Any progress on it?

Hey! Unfortunately this library is inactive as of the moment. I need to rethink the whole thing, if it's still useful to continue developing it. Such as: coroutines native multi threading, which doesn't work well right now. I also noticed in some of projects that I have where I have to implement this library it seems to further complicate the architecture as we have already have StateFlow, LiveData, etc. alternatives that exists in the community. The only use of this library now is to facilitate or enforce the unidirectional data flow but can be easily achieved with other tools.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants