MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / providersGet

Function providersGet

packages/core/sdk/src/executor.ts:5988–5996  ·  view source on GitHub ↗
(
      key: ProviderKey,
      id: ProviderItemId,
    )

Source from the content-addressed store, hash-verified

5986 });
5987
5988 const providersGet = (
5989 key: ProviderKey,
5990 id: ProviderItemId,
5991 ): Effect.Effect<string | null, StorageFailure> =>
5992 Effect.gen(function* () {
5993 const provider = credentialProviders.get(String(key));
5994 if (!provider) return null;
5995 return yield* provider.get(id);
5996 });
5997
5998 const providersHas = (
5999 key: ProviderKey,

Callers 1

createExecutorFunction · 0.85

Calls 1

getMethod · 0.65

Tested by

no test coverage detected