rsxjs
Version:
Resilience Extensions for JS.
8 lines (7 loc) • 314 B
TypeScript
/**
* @file src/breaker/from-sync.ts
* @copyright 2018-present Karim Alibhai. All rights reserved.
*/
import { BreakerOptionsGiven } from './types';
import { SyncFunction } from '../types';
export declare function fromSync<T = any>(originalFn: SyncFunction<T>, _options?: BreakerOptionsGiven): SyncFunction<T>;