Documentation / @agentick/core / useTickState
Function: useTickState() ​
useTickState():
TickState
Defined in: core/src/hooks/context.ts:69
Get the current tick state.
Returns ​
TickState
Example ​
tsx
const MyComponent = () => {
const state = useTickState();
console.log(`Tick ${state.tick}, timeline: ${state.timeline.length} entries`);
};