MCPcopy Create free account
hub / github.com/CreminiAI/skillpack / isMessageSender

Function isMessageSender

src/runtime/adapters/types.ts:255–259  ·  view source on GitHub ↗
(
  adapter: PlatformAdapter,
)

Source from the content-addressed store, hash-verified

253
254/** Type guard to check if an adapter supports proactive message sending */
255export function isMessageSender(
256 adapter: PlatformAdapter,
257): adapter is PlatformAdapter & MessageSender {
258 return typeof (adapter as any).sendMessage === "function";
259}

Callers 2

notifyFnFunction · 0.85
handleRequestMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected