OxL Reference

error invalid-window

error Standard: [§10.2]

What it means#

The window is the number of messages a producer may send before the consumer acknowledges; zero could never make progress.

Example#

oxl✓ checked in CI
service Feed {
  @window(0)            // <- invalid-window
  rpc numbers() -> stream<i32>
}
error
invalid-window

How to fix#

Use a window of at least 1 (the default is 64).

See also#

OxL 1.0.0-beta · Documentation version 1.0.0-beta© OxwaldLink · generated from the Standard, the std sources and the guides