(configured int)
| 331 | } |
| 332 | |
| 333 | func eventBufferSize(configured int) int { |
| 334 | if configured > 0 { |
| 335 | return configured |
| 336 | } |
| 337 | return defaultEventBuffer |
| 338 | } |
| 339 | |
| 340 | // TranslateRuntimeEvent translates content-bearing runtime events into the |
| 341 | // compact Event shape used by embedded chat UIs. |