Skip to content

Conversation

@jedwards1211
Copy link
Contributor

this is sort of a joke but I just wanted to demonstrate that the code can be shortened, assuming there are no extra arguments in observables I don't know about.

And illustrate how it's almost exactly the same API as the Observable constructor but with an async function.

this is sort of a joke but I just wanted to demonstrate that the code can be shortened
@brainkim
Copy link
Member

Hahahaha if you make the observable.subscribe call a one-liner (maybe shorten subscription to sub), I will merge this in. Could be nice to show the flexibility of repeaters, how you can name the push and stop functions whatever you want.

However, the README is duplicated in the nested package README (https://github.com/repeaterjs/repeater/blob/master/packages/repeater/README.md) and the docs (https://github.com/repeaterjs/repeater/blob/master/docs/01_quickstart.md). Also I’d have to do a docs site deploy... mhmhghgh

And illustrate how it's almost exactly the same API as the Observable constructor but with an async function.

I will never acknowledge this. 🕵️‍♂️

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