You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Behaves identically to [`server.events.emit()`](#server.events.emit()), but also returns an array of the results of all the event listeners that run. The return value is that of `Promise.allSettled()`, where each item in the resulting array is `{ status: 'fulfilled', value }` in the case of a successful handler, or `{ status: 'rejected', reason }` in the case of a handler that throws.
1682
+
1683
+
Please note that system errors such as a `TypeError` are not handled specially, and it's recommended to scrutinize any rejections using something like [bounce](https://hapi.dev/module/bounce/).
Copyright (c) 2011-2020, Sideway Inc, and project contributors
2
-
Copyright (c) 2011-2014, Walmart
3
-
Copyright (c) 2011, Yahoo Inc.
1
+
Copyright (c) 2011-2022, Project contributors
2
+
Copyright (c) 2011-2020, Sideway Inc
3
+
Copyright (c) 2011-2014, Walmart
4
+
Copyright (c) 2011, Yahoo Inc.
4
5
All rights reserved.
5
6
6
7
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
7
-
* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
8
-
* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
9
-
* The names of any contributors may not be used to endorse or promote products derived from this software without specific prior written permission.
8
+
9
+
- Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
10
+
- Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
11
+
- The names of any contributors may not be used to endorse or promote products derived from this software without specific prior written permission.
10
12
11
13
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS AND CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS OFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
0 commit comments