Vibe.TUI.RenderKey (vibe v0.2.0)

Copy Markdown View Source

Helpers for building stable TUI component render cache keys.

Summary

Functions

component(type, id, fingerprint, context)

@spec component(atom(), term(), term(), Vibe.TUI.RenderContext.t()) :: tuple()

component(type, id, fingerprint, dimensions, context)

@spec component(atom(), term(), term(), [term()], Vibe.TUI.RenderContext.t()) ::
  tuple()

fingerprint(value)

@spec fingerprint(term()) :: non_neg_integer()