 # Makes a new promise chained off this with given resolver.
 unitFx = (x) -> x
 unitFe = (e) -> throw e
-stepWith = (type, resolver, twoF, finish, serial, immediate, extra) -> (fx, fe) ->
+stepWith = (type, resolver, twoF, finish, extra) -> (fx, fe) ->
     fx = unitFx unless typeof fx == 'function'
     fe = unitFe unless typeof fe == 'function'
     p = new X(INI)

X::once = stepWith 'once', onceResolver

# a serial resolver is like a then but one argument at a time.
X::serial = stepWith 'serial', thenResolver, true, false, true

# a promise for the end of the stream. no events pass except the last
# one before the end.

    # _resolverExit.
    @_execCount = 0
    return true
X::settle = stepWith 'settle', settleResolver, true, false, ->
    _this = this
    # replace _doEnd with handler sneaking in the thenResolver
    # before actually effectuating the doEnd
