OrchidStratum.MetaStorage.MetaItem (orchid_stratum v0.2.1)

Copy Markdown View Source

Struct representing a single cached step result in the Meta Store.

Summary

Functions

Extracts the dehydrated outputs from a MetaItem.

Types

t()

@type t() :: %OrchidStratum.MetaStorage.MetaItem{
  created_at: integer() | Time.t(),
  dehydrated_outputs: any(),
  step_implementation: Orchid.Step.implementation()
}

Functions

get_dehydrated_outputs(meta_item)

@spec get_dehydrated_outputs(t()) :: any()

Extracts the dehydrated outputs from a MetaItem.

This is a thin accessor used by OrchidStratum.BypassHook when serving a cache hit, keeping the hook decoupled from the internal struct layout.