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

docs(subscribe): create the documentation #2454

Merged
merged 1 commit into from Jun 12, 2017
Merged

docs(subscribe): create the documentation #2454

merged 1 commit into from Jun 12, 2017

Conversation

mpodlasin
Copy link
Contributor

Document subscribe method, focusing on what it accepts and returns, how it differs from regular operators and whether it calls its callbacks synchronously or asynchronously.

Closes #2449

@coveralls
Copy link

Coverage Status

Coverage remained the same at 97.688% when pulling 8f61f36 on Podlas29:subscribe-docs into 69d051b on ReactiveX:master.

subscribe(): Subscription;
subscribe(observer: PartialObserver<T>): Subscription;
subscribe(next?: (value: T) => void, error?: (error: any) => void, complete?: () => void): Subscription;
/**
* Puts an Observable to work and registers handlers for events it will emit.
Copy link
Member

@staltz staltz Mar 11, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would describe this as "Invoke an execution of this Observable and register Observer handlers for notifications it will emit." because this is the style of language we use also in the Manual. ("invoke", "execution", etc)
The informal description is okay.

@kwonoj kwonoj added the docs Issues and PRs related to documentation label Mar 12, 2017
Document subscribe method, focusing on what it
accepts and returns, how it differs from regular
operators and whether it calls its callbacks
synchronously or asynchronously.

Closes #2449
@mpodlasin
Copy link
Contributor Author

@staltz done

@coveralls
Copy link

coveralls commented Mar 14, 2017

Coverage Status

Coverage remained the same at 97.688% when pulling 314d547 on Podlas29:subscribe-docs into 69d051b on ReactiveX:master.

@staltz
Copy link
Member

staltz commented Mar 23, 2017

PR is all green to merge

@lock
Copy link

lock bot commented Jun 6, 2018

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Jun 6, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
docs Issues and PRs related to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants