ConfigureFnOptions: {
    config: Partial<SnapConfig>;
    onError?: (error: Error) => void;
    onSettled?: (data?: Partial<SnapConfig>, error?: Error) => void;
    onSuccess?: (data: Partial<SnapConfig>) => void;
}

Type declaration

  • config: Partial<SnapConfig>
  • OptionalonError?: (error: Error) => void
  • OptionalonSettled?: (data?: Partial<SnapConfig>, error?: Error) => void
  • OptionalonSuccess?: (data: Partial<SnapConfig>) => void