Skip to main content

Understanding react, supply, and whenever

by Jonathan Worthington (‎jnthn‎)

Understanding react, supply, and whenever aimed at Any and is held in English. This talk starts on 2019-03-07 at 09:00 for 40 minutes. It takes place at the R1.046 (Red Cube).

Perl 6 includes language support for working with streams of asynchronous values, such as network requests, UI events, domain events, and time.

The `whenever` construct is an asynchronous loop, the body invoked whenever an event is received. One or more `whenever` loops are enclosed within a `react` or `supply` block. Concurrency control is enforced within this block. Error and completion propagation are also taken care of. These together eliminate both boilerplate and potential for a range of mistakes in concurrent programming.

This talk introduces the syntax and behavior of these constructs by way of a series of practical examples, drawn from various modules and applications that the author has been involved with.


Interest in attending: