> ## Documentation Index
> Fetch the complete documentation index at: https://botmesh.afaya.com.co/llms.txt
> Use this file to discover all available pages before exploring further.

# IdleCallback

> Type alias exported by @botmesh/core.

```ts theme={null}
type IdleCallback = () => unknown | Promise<unknown>;
```

Defined in: [conversations/idle.ts:34](https://github.com/andresayac/botmesh/blob/main/packages/core/src/conversations/idle.ts#L34)

Callback of `c.idle()`. Runs on a timer, outside the conversation's flow; it may reply,
call `c.end(farewell)` / `c.goto(name)` to finish the conversation, or `c.retry()` to
re-prompt the pending question. It cannot start waits (`c.ask()`…). Thrown errors are
reported, never unhandled.

## Returns

`unknown` | `Promise`\<`unknown`>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.