Pudu programming language
Menu

Std.App.measuring

1 declaration

fn

measuring: &Std.App.App -> Std.Sync.Cell[Std.App.Metrics.Metrics] -> Str -> Std.App.App

This is a callable function.

What it does

The application measuring its own traffic into a cell the program holds,

and answering with what it has measured where the program says.

The cell is the program's because the measurements are: nothing here is

global, so two evaluations do not share counts and a test does not inherit

another's. The route is written rather than mounted automatically, for the

same reason a health report is.

Read the signature

  • The text after the name is the type checked by Pudu.
  • Read arrows from left to right: inputs come first, and the final type is returned.
  • & borrows a value for this call instead of moving or copying it.
  • Names inside [ ] are type arguments, such as the item type held by a collection.

Back to Std.AppSearch related declarations