MCPcopy Create free account
hub / github.com/middleapi/orpc / getEventIteratorSchemaDetails

Function getEventIteratorSchemaDetails

packages/contract/src/event-iterator.ts:65–71  ·  view source on GitHub ↗
(schema: AnySchema | undefined)

Source from the content-addressed store, hash-verified

63}
64
65export function getEventIteratorSchemaDetails(schema: AnySchema | undefined): undefined | EventIteratorSchemaDetails {
66 if (schema === undefined) {
67 return undefined
68 }
69
70 return (schema['~standard'] as any)[EVENT_ITERATOR_DETAILS_SYMBOL]
71}

Callers 3

#requestMethod · 0.90
#successResponseMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected