MCPcopy
hub / github.com/codedogQBY/ReadAny / setPlatformService

Function setPlatformService

packages/core/src/services/platform.ts:149–152  ·  view source on GitHub ↗
(service: IPlatformService)

Source from the content-addressed store, hash-verified

147});
148
149export function setPlatformService(service: IPlatformService): void {
150 _platformService = service;
151 _resolveReady?.(service);
152}
153
154export function getPlatformService(): IPlatformService {
155 if (!_platformService) {

Callers 6

bootstrapFunction · 0.90
installFetchCaptureFunction · 0.90
installFetchStubFunction · 0.90
main.tsxFile · 0.90

Calls

no outgoing calls

Tested by 2

installFetchCaptureFunction · 0.72
installFetchStubFunction · 0.72