import { Backoff } from "./backoff" ; /**
 * ConstantBackoff always returns the same value.
 */ export class ConstantBackoff implements Backoff { private readonly backoff : number ; constructor ( backoff ) { this . backoff = backoff ; } next ( ) { return this . backoff ; } reset = ( ) => { } ; }