QVAC Logo

stopQVACProvider( )

Stops a running provider service and leaves the specified topic.

function stopQVACProvider(params): Promise<{
  error?: string;
  success: boolean;
  type: "stopProvide";
}>;

Parameters

NameTypeRequired?Description
paramsobjectStop provider configuration

params

FieldTypeRequired?Description
topicstringTopic to leave

Returns

Promise<object> — A promise that resolves to the stop provide response containing success status

FieldTypeRequired?Description
successbooleanWhether the operation succeeded
errorstringError message if failed
type"stopProvide"Response type

Throws

When the response type is not "stopProvide" or the request fails

On this page