Hyperlinkv0.8.0-beta.28

Lookup

Source src/Lookup.ts:3918 lines
export const prefer = (
  resource: string | { readonly key: string },
  nodeKey: string,
): Effect.Effect<string, never, Advice> =>
  advise({
    resourceKey: typeof resource === "string" ? resource : resource.key,
    prefer: nodeKey,
  });