Skip to content

withClient

withClient<A>(config, body): Promise<A>

Defined in: src/Client.ts:700

Run a function with a client that is automatically closed when done.

Type Parameters

A

A

Parameters

config

ClientConfig

body

(client) => Promise<A>

Returns

Promise<A>

Since

0.2.9