Skip to content

Implement share operator #439

@benlesh

Description

@benlesh

This is an alias for publish().refCount(), but is honestly preferable for simplicity's sake. It's easier to teach people share() than publish().refCount(), because to a newbie, the latter won't make much sense.

Ideally, this will be implemented by pulling in the publish method via import, rather than depending on it being on the Observable. Since this is a modular library, there is no guarantee publish has been added.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions