stopQVACProvider( )
Stops a running provider service and leaves the specified topic.
function stopQVACProvider(params): Promise<object>;Parameters
| Name | Type | Required? | Description |
|---|---|---|---|
| params.topic | string | ✓ | Topic hex string to leave |
Returns
Promise<object> — The stop provide response containing success and optional error.
Throws
| Error | When |
|---|---|
INVALID_RESPONSE_TYPE | Response type does not match expected "stopProvide" |
PROVIDER_STOP_FAILED | The server reports provider stop failure |
Example
await stopQVACProvider({ topic: "a1b2c3d4..." });