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

feat(Cycle): remove dispose() add remember() to adapter interface #6

Merged
merged 3 commits into from
Jun 7, 2016

Conversation

TylorS
Copy link
Member

@TylorS TylorS commented Jun 6, 2016

This removes the need for dispose() in the streamAdapters and adds the ability to represent "values
over time" with remember(). Also add logToConsoleError which was previously represented in every
stream adapter separately.

The StreamAdapter interface no longer has .dipose(), but now has .remember()

This removes the need for dispose() in the streamAdapters and adds the ability to represent "values
over time" with remember(). Also add logToConsoleError which was previously represented in every
stream adapter separately.

The StreamAdapter interface no longer has .dipose(), but now has .remember()
Add generic typings where possible
Add a cast() function to the interface to allow typescript
drivers to generate awesome type defintions.
e.g.
StreamAdapter.cast<Event>(DOMSource.select().events())
@staltz staltz merged commit 2e78678 into master Jun 7, 2016
@staltz staltz deleted the values-over-time branch June 7, 2016 12:24
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

Successfully merging this pull request may close these issues.

2 participants