ConnectionOptions constructor
deno-postgres@v0.17.0/ConnectionOptions.
Implementation
factory ConnectionOptions({
required int attempts,
int Function(int previousInterval)? nextInterval,
int? interval,
}) {
return jsify(
PartialConnectionOptions(
attempts: attempts,
nextInterval: nextInterval,
interval: interval,
).asMap(),
) as ConnectionOptions;
}