Sha256: 9766be308bcb372b86a261641b8f9f374c33665466960b7e933d7d1b0a623480
Contents?: true
Size: 621 Bytes
Versions: 14
Compression:
Stored size: 621 Bytes
Contents
/** * Returns an observable sequence that shares a single subscription to the underlying sequence. * This operator is a specialization of publish which creates a subscription when the number of observers goes from zero to one, then shares that subscription with all subsequent observers until the number of observers returns to zero, at which point the subscription is disposed. * @returns {Observable} An observable sequence that contains the elements of a sequence produced by multicasting the source sequence. */ observableProto.share = function () { return this.publish().refCount(); };
Version data entries
14 entries across 7 versions & 1 rubygems