7 ms·
Chaining blocks works, for instance something like: var queryResult = getDatabase().sync(). getCollection().sync(). fetch({ query }).sync(); Assu
by scriby 14y ago
Chaining blocks works, for instance something like:
var queryResult =
getDatabase().sync().
getCollection().sync().
fetch({ query }).sync();
Assuming all those are asynchronous operations.
Chaining wouldn't work with .defer() right now. It only supports syntax like "var x = something().defer()".