lib/law.js
function() {
    var streams = this.sourceStreams = toArray(arguments);

    if(streams.length === 1) {
      this.any.apply(this, streams);
      return this;
    }

    this.resultStream = Bacon.zipAsArray(streams);

    this.streamsHash = this._computeStreamsHash('all', streams);

    // invalidate 'any'
    return this;
  }
function() {
    var streams = this.sourceStreams = toArray(arguments);

    if(streams.length === 1) {
      this.any.apply(this, streams);
      return this;
    }

    this.resultStream = Bacon.zipAsArray(streams);

    this.streamsHash = this._computeStreamsHash('all', streams);

    // invalidate 'any'
    return this;
  }
function ( ) { var streams = this . sourceStreams = toArray ( arguments ) ; if ( streams . length === 1 ) { this . any . apply ( this , streams ) ; return this ; } this . resultStream = Bacon . zipAsArray ( streams ) ; this . streamsHash = this . _computeStreamsHash ( 'all' , streams ) ; // invalidate 'any' return this ; }
Produce a side effect only after all of the Law events occur

@function whenAll
@name whenAll
@instance
@memberof Law
Produce a side effect only after all of the Law events occur