a promise that resolves once the Dock provider is successfully deregistered.
A Workspace Platform must be initialized, and the Dock provider must be registered for this function to take effect.
an error if the provider is not registered.
Deregister a Dock provider.
import { Dock } from '@openfin/workspace';
await Dock.deregister();
API function to deregister a Dock provider.