MCPcopy Create free account
hub / github.com/Tatamo/atcoder-cli / transaction

Method transaction

src/session.ts:24–24  ·  view source on GitHub ↗

* トランザクションを実行する。 * コールバック中に保存されたセッションはトランザクションが成功して終了するまで保存されない。

(callback: () => Promise<R>)

Source from the content-addressed store, hash-verified

22 * コールバック中に保存されたセッションはトランザクションが成功して終了するまで保存されない。
23 */
24 transaction<R>(callback: () => Promise<R>): Promise<R>
25 /**
26 * 現在のセッション情報を破棄します
27 */

Callers 2

loginMethod · 0.65
session.tsFile · 0.65

Implementers 2

Sessionsrc/session.ts
TestSessiontests/utils/session.ts

Calls

no outgoing calls

Tested by

no test coverage detected