Skip to content

Commit fa2fe4b

Browse files
committed
Clarify that errback always comes last
1 parent afb8e58 commit fa2fe4b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ let db2 = new Database();
4545
let {query, bindVars} = aqlQuery`RETURN ${Date.now()}`;
4646

4747
// or plain old Node-style
48-
4948
var arangojs = require('arangojs');
5049
var db1 = arangojs();
5150
var db2 = new arangojs.Database();
@@ -56,7 +55,7 @@ var bindVars = aql.bindVars;
5655

5756
# API
5857

59-
All asynchronous functions take an optional node-style callback (or "errback") with the following arguments:
58+
All asynchronous functions take an optional Node-style callback (or "errback") as the last argument with the following arguments:
6059

6160
* *err*: an *Error* object if an error occurred, or *null* if no error occurred.
6261
* *result*: the function's result (if applicable).

0 commit comments

Comments
 (0)