(self: Cause.Cause<E>)
| 223 | |
| 224 | /** @internal */ |
| 225 | export const interruptors = <E>(self: Cause.Cause<E>): HashSet.HashSet<FiberId.FiberId> => |
| 226 | reduce(self, HashSet.empty<FiberId.FiberId>(), (set, cause) => |
| 227 | cause._tag === OpCodes.OP_INTERRUPT ? |
| 228 | Option.some(pipe(set, HashSet.add(cause.fiberId))) : |
| 229 | Option.none()) |
| 230 | |
| 231 | /** @internal */ |
| 232 | export const failureOption = <E>(self: Cause.Cause<E>): Option.Option<E> => |