MCPcopy Index your code
hub / github.com/anomalyco/opencode / refresh

Function refresh

packages/core/src/plugin/provider/opencode.ts:180–180  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

178 })
179
180 const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())))
181 yield* events.subscribe(Integration.Event.ConnectionUpdated).pipe(
182 Stream.filter((event) => event.data.integrationID === Integration.ID.make("opencode")),
183 Stream.runForEach(refresh),

Callers 1

opencode.tsFile · 0.70

Calls 1

loadFunction · 0.50

Tested by

no test coverage detected