Pudu programming language
Menu
API reference

Std.Ui.Live.session

1 declaration

fn

session: Std.Ui.Component[S, E] -> &Array[Str] -> Std.Ui.Live.Session[S, E]

This is a callable function.

What it does

A session over a component, accepting the events it names.

The screen is rendered immediately, so what this end believes is on the

viewer's screen is true from the first moment rather than after the first

event.

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.Ui.LiveSearch related declarations