AbstractConstructs a new BaseOperation instance.
OptionalauthToken: RequestAuthInput
The authentication material used for API requests. A string is treated as a bearer token for backwards compatibility.
Optionaloptions: RequestOptions
Transport settings scoped to this instance (timeout, cancellation, retry policy, lifecycle hooks).
OptionalstateOwner: object
Stable object keying cross-request transport state (circuit breaker, retry budget, pacing deadlines). Provider wirings pass one shared owner to every operation they construct so that state spans the whole client; when omitted, a fresh per-instance object is used and the state stays scoped to this operation.
Shared state and request dispatch for every provider's operations.
This class owns the instance authentication token, resolved transport settings, and per-request option merge from
requestOptions. It delegates HTTP calls to the provider-agnostic sendRequest pipeline. Protocol-specific base classes subclass it.AniListOperationadds GraphQL envelope handling, andRestOperationadds query-string and JSON-body handling. Neither duplicates the shared code here.