⚠️ Internal: This API is not publically exported by the package.
      interface FinishedOptions {
          cleanup?: boolean;
          error?: boolean;
          readable?: boolean;
          signal?: AbortSignal;
          writable?: boolean;
      }

      Hierarchy

      Properties

      cleanup?: boolean

      If true, removes the listeners registered by this function before the promise is fulfilled.

      Default

      false
      
      error?: boolean
      readable?: boolean
      signal?: AbortSignal

      When provided the corresponding AbortController can be used to cancel an asynchronous action.

      writable?: boolean