@fgaudo/effect-tea - v0.7.2
    Preparing search index...

    Type Alias Frame<Model, Message>

    Frame: Readonly<{ dispatch: Dispatch<Message>; model: Model }>

    What a renderer draws: a model, and the dispatch of the run, the very same function for every frame. The model is made when it is first read, so a frame nobody reads costs nothing: whatever enumerates or copies a frame (a spread, JSON.stringify) reads it.

    Type Parameters

    • Model
    • Message