include/lightspeed@component_Component.hrl

-record(component, {
    init :: fun(() -> any()),
    update :: fun((any(), any()) -> {any(),
        list(lightspeed@component:command(any()))}),
    render :: fun((any()) -> lightspeed@component:rendered())
}).