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
✨ Add support for gracefully killing child processes (#662)
<!--
Copyright (C) 2020-2022 Arm Limited or its affiliates and Contributors.
All rights reserved.
SPDX-License-Identifier: Apache-2.0
-->
### Description
<!--
Please add any detail or context that would be useful to a reviewer.
-->
Add support for gracefully killing child processes
### Test Coverage
<!--
Please put an `x` in the correct box e.g. `[x]` to indicate the testing
coverage of this change.
-->
- [x] This change is covered by existing or additional automated tests.
- [ ] Manual testing has been performed (and evidence provided) as
automated testing was not feasible.
- [ ] Additional tests are not required for this change (e.g.
documentation update).
---------
Co-authored-by: Adrien CABARBAYE <adrien.cabarbaye@arm.com>
Copy file name to clipboardExpand all lines: utils/collection/search.go
+39Lines changed: 39 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -71,6 +71,45 @@ func AnyFunc[S ~[]E, E any](s S, f func(E) bool) bool {
71
71
returnconditions.Any()
72
72
}
73
73
74
+
// Filter returns a new slice that contains elements from the input slice which return true when they’re passed as a parameter to the provided filtering function f.
// Parallelise parallelises an action over as many goroutines as specified by the argList and retrieves all the results when all the goroutines are done.
0 commit comments