Round

object Round

Utility object for round-based computation testing.

Functions

Link copied to clipboard
fun <ID : Any, Result> roundFor(steps: Int = 10, deviceId: ID, computation: Aggregate<ID>.() -> Result): AggregateResult<ID, Result>

Simulates a round-based computation for steps rounds for the given deviceId executing the computation function.