Zum Inhalt springen

Understanding react, supply, and whenever

von Jonathan Worthington (‎jnthn‎) (Prague.pm)

Understanding react, supply, and whenever richtet sich an Alle und wird in English gehalten. Der Talk beginnt am 07.03.2019 um 09:00 Uhr und dauert 40 Minuten. Er findet im R1.046 (Roter Würfel) statt.

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.

Präsentation: https://jnthn.net/papers/2019-gpw-react-supply-whenever.pdf