MCPcopy Create free account
hub / github.com/clockworklabs/SpacetimeDB / repeating_test

Method repeating_test

modules/module-test-cs/Lib.cs:260–265  ·  view source on GitHub ↗
(ReducerContext ctx, RepeatingTestArg arg)

Source from the content-addressed store, hash-verified

258 }
259
260 [Reducer]
261 public static void repeating_test(ReducerContext ctx, RepeatingTestArg arg)
262 {
263 var deltaTime = ctx.Timestamp.TimeDurationSince(arg.prev_time);
264 Log.Trace($"Timestamp: {ctx.Timestamp}, Delta time: {deltaTime}");
265 }
266
267 [Reducer]
268 public static void nonrepeating_test(ReducerContext ctx, NonrepeatingTestArg arg)

Callers

nothing calls this directly

Calls 2

TimeDurationSinceMethod · 0.80
TraceMethod · 0.45

Tested by

no test coverage detected