import { ApiSignature } from '../../components/ApiCode';

NOTE: the `graphql/subscription` module has been deprecated with its
exported functions integrated into the `graphql/execution` module, to
better conform with the terminology of the GraphQL specification.

For backwards compatibility, the `graphql/subscription` module
currently re-exports the moved functions from the `graphql/execution`
module. In v17, the `graphql/subscription` module will be dropped entirely.

These exports are also available from the root `graphql` package.

<div className="api-category-toc">
  <p>
    <strong>Types:</strong><br />
    <a href="/api-v16/subscription#subscriptionargs">SubscriptionArgs</a>
  </p>
</div>

## Types

### SubscriptionArgs <span aria-label="Deprecated" className="api-tag" title="Deprecated">Deprecated</span>

**Interface.** Deprecated legacy alias for ExecutionArgs retained by the subscription
module. Use [`ExecutionArgs`](/api-v16/execution#executionargs) directly instead because SubscriptionArgs will be
removed in v17.

ExecutionArgs has been broadened to include all properties within SubscriptionArgs.
The SubscriptionArgs type is retained for backwards compatibility.

<ApiSignature parts={[["keyword", "interface"], " ", ["name", "SubscriptionArgs"], " ", ["keyword", "extends"], " ", ["link", "ExecutionArgs", "/api-v16/execution#executionargs"]]} />