Skip to content

Rename fromCallback to factoryFromCallback #787

Closed
@benlesh

Description

@benlesh

Since Observable.fromCallback doesn't really create an Observable, but rather creates a function, the name is a little confusing. Observable.factoryFromCallback makes a little more sense, as suggested by @staltz.

Related discussion in #729 is around whether or not it should be in Rx "core". It adds a lot of weight for limited value, IMO. I personally have never used this method, but perhaps it's more popular than I know.

  • Should we rename it to factoryFromCallback?
  • Should it be core?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions