unsubscribeComputations
unsubscribeComputations(
conn,subscriptionId):Promise<void>
Unsubscribes from computation-related events using the subscription ID.
Parameters
| Parameter | Type | Description |
|---|---|---|
conn | Connection | The Solana connection object. |
subscriptionId | number | The subscription ID returned by subscribeComputations. |
Returns
Promise<void>