diff --git a/docs/release-source/release/stubs.md b/docs/release-source/release/stubs.md index efdaf6a78..f6d2f30b2 100644 --- a/docs/release-source/release/stubs.md +++ b/docs/release-source/release/stubs.md @@ -473,14 +473,14 @@ Same as their corresponding non-Async counterparts, but with callback being defe #### `stub.yieldsAsync([arg1, arg2, ...]);` +Same as their corresponding non-Async counterparts, but with callback being deferred (executed not immediately but after short timeout and in another "thread") + #### `stub.yieldsOnAsync(context, [arg1, arg2, ...]);` #### `stub.yieldsToAsync(property, [arg1, arg2, ...]);` #### `stub.yieldsToOnAsync(property, context, [arg1, arg2, ...])` -Same as their corresponding non-Async counterparts, but with callback being deferred (executed not immediately but after short timeout and in another "thread") - #### `sinon.addBehavior(name, fn);` Add a custom behavior. The name will be available as a function on stubs, and the chaining mechanism will be set up for you (e.g. no need to return anything from your function, its return value will be ignored). The `fn` will be passed the fake instance as its first argument, and then the user's arguments.