566
throw new Error(`ClaudeSdkPipeline.rebind: no rematerializer attached (reason=${reason})`);
567
}
569
>
// Install a placeholder controller BEFORE awaiting the
570
>
// rematerializer so a concurrent {@link abort} has a live target
571
>
// instead of returning early as idempotent against the already-
572
>
// aborted old controller.
573
>
const placeholder = new AbortController();
574
>
this._abortController = placeholder;
575
>
const built = await this._rematerializer(reason);
576
// Dispose may have run while we were awaiting the rematerializer.
577
// The dispose chain has already torn down the OLD warm/controller;