Hyperlinkv0.8.0-beta.28

Logs

Logs.byHyperlinkconstsrc/Logs.ts:219

Read durable logs for a specific resource by full key (same string as Hyperlink.logs(tag) / store registration / lineage segment).

Pass a scope tag (Process.Tag / QueueHyperlink.Tag / …) or its .key string. Hyperlink kind is Hyperlink.kindOf on the tag — not a separate query argument.

Requires that resource's store registration (Process.store / QueueHyperlink.store, …) on the ambient Store.Storage. Missing registration fails via Store.resolveOrDie (StoreScopeNotRegistered) — empty success is not used as a silent signal for “wrong key.”

readsHyperlink.logsHyperlink.kindOfStore.StorageStore.resolveOrDie
Source src/Logs.ts:2197 lines
export const byHyperlink = (
  resource: HyperlinkLogKey | HyperlinkLogKeySource,
  options?: LogReadOptions,
): Effect.Effect<ReadonlyArray<LogEntry>> =>
  queryDurableScope(resolveHyperlinkLogKey(resource), {
    limit: options?.limit ?? queryLimitDefault,
  });