MCPcopy Index your code
hub / github.com/github/copilot-sdk / registerTransformCallbacks

Method registerTransformCallbacks

nodejs/src/session.ts:1142–1144  ·  view source on GitHub ↗

* Registers transform callbacks for system message sections. * * @param callbacks - Map of section ID to transform callback, or undefined to clear * @internal This method is typically called internally when creating a session.

(callbacks?: Map<string, SectionTransformFn>)

Source from the content-addressed store, hash-verified

1140 * @internal This method is typically called internally when creating a session.
1141 */
1142 registerTransformCallbacks(callbacks?: Map<string, SectionTransformFn>): void {
1143 this.transformCallbacks = callbacks;
1144 }
1145
1146 /**
1147 * Handles a systemMessage.transform request from the runtime.

Callers 2

initializeSessionMethod · 0.95
resumeSessionMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected