Skip to content

Commit

Permalink
remove pre.mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Eran Hammer committed Dec 9, 2013
1 parent 314854f commit 9e0864d
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions docs/Reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -768,10 +768,6 @@ those methods are called in parallel. `pre` can be assigned a mixed array of:
- objects with:
- `method` - the function to call (or short-hand helper string as described below). The function signature is defined by the `type` options.
- `assign` - key name to assign the result of the function to within `request.pre`.
- `mode` - the calling order of the function. Available values:
- `'serial'` - serial methods are executed after all the `'parallel'` methods in the order listed. This is the default value.
- `'parallel'` - all parallel methods are executed first in parallel before any serial method. The first to return an error response
will exist the set.
- `type` - the method signature by specifying one of the following (defualts to `'pre'`):
- `'pre'` - the function signature is `function(request, next)` where:
- `request` - the incoming `request` object.
Expand Down

0 comments on commit 9e0864d

Please sign in to comment.