Optionaloptions: SchemaCommandBusOptionsconst bus = createAsyncSchemaCommandBus({
cartAdd: { description: 'Add item', target: { id: 'number' }, payload: { qty: 'number' } },
});
bus.register('cartAdd', async (cmd) => fetchCart(cmd.target.id, cmd.payload.qty));
const result = await bus.synthesize('add 2 of item 5', { adapter: myAdapter });
Creates an AsyncCommandBus typed from a flat runtime schema. Use this when handlers perform async work (API calls, DB, LLM).