         }
     }
     
-    var isRunning: Bool {
+    public var isRunning: Bool {
         if case .running(_) = self {
             return true
         } else {


extension Task {
    
    mutating func resetOnTermination() {
        switch self {
        case .successful(_): self = .idle
        case .failure(_): self = .idle

        }
    }
    
    public var isFailure: Bool {
        if case .failure(_) = self {
            return true
        } else {
