API function to deregister a Dock provider.
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.
import { Dock } from '@openfin/workspace';await Dock.deregister(); Copy
import { Dock } from '@openfin/workspace';await Dock.deregister();
API function to deregister a Dock provider.