Multicasts the source sequence notifications through an instantiated subject into all uses of the sequence
within a selector function. Each subscription to the resulting sequence causes a separate multicast invocation,
exposing the sequence resulting from the selector function's invocation. For specializations with fixed subject
types, see Publish, PublishLast, and Replay.
public multicast ( Rx\Subject\Subject $subject, null $selector = null, rx\SchedulerInterface $scheduler = null ) : Rx\Observable\ConnectableObservable | Rx\Observable\MulticastObservable | ||
$subject | Rx\Subject\Subject | |
$selector | null | |
$scheduler | rx\SchedulerInterface | |
return | Rx\Observable\ConnectableObservable | Rx\Observable\MulticastObservable |