optic icon indicating copy to clipboard operation
optic copied to clipboard

Expose intervalOf from utils

Open itizarsa opened this issue 9 months ago • 0 comments

In FileStream builder, the value of withAutoFlushEvery expects TimeInterval. But either TimeInterval or intervalOf function wasn't exported anywhere.

Usage

new FileStream("log.jsonl")
.withAutoFlushEvery(intervalOf(5).seconds())

itizarsa avatar Apr 08 '25 15:04 itizarsa