create

suspend fun create(windowMs: Long): StmRateWindow(source)

Creates a new StmRateWindow with the given windowMs duration in milliseconds.