MCPcopy Index your code
hub / github.com/coder/mux / attempt

Method attempt

src/node/services/onePasswordService.ts:81–84  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

79 context: Record<string, unknown> = {}
80 ): Promise<T> {
81 const attempt = async (): Promise<T> => {
82 const client = await this.getClient();
83 return operation(client);
84 };
85
86 try {
87 return await attempt();

Callers

nothing calls this directly

Calls 1

getClientMethod · 0.95

Tested by

no test coverage detected