MCPcopy Create free account
hub / github.com/Monogatari/Monogatari / nextRequestId

Function nextRequestId

src/lib/FileSystemStorage.ts:9–9  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7// and the renderer process. This is a simple way to ensure that the requests and
8// responses are matched correctly.
9const nextRequestId = (): string => `fss_${++requestIdCounter}_${Date.now()}`;
10
11export class FileSystemStorage implements StorageInterface {
12 private bridge: DesktopBridge;

Callers 1

sendRequestMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected