MCPcopy Index your code
hub / github.com/callstack/agent-device / isLeaseRpcCommand

Function isLeaseRpcCommand

src/daemon/client/daemon-client-rpc.ts:122–126  ·  view source on GitHub ↗
(command: string)

Source from the content-addressed store, hash-verified

120}
121
122function isLeaseRpcCommand(command: string): command is LeaseRpcCommand {
123 return (
124 command === 'lease_allocate' || command === 'lease_heartbeat' || command === 'lease_release'
125 );
126}
127
128function leaseRpcMethodForCommand(command: LeaseRpcCommand): string {
129 switch (command) {

Callers 1

buildHttpRpcPayloadFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected