2 summary:: access a key in an event stream
3 related:: Classes/Penvir
4 categories:: Streams-Patterns-Events>Patterns>Data Sharing
8 Pkey simplifies backward access to values in an event being processed by link::Classes/Pbind:: or another event pattern.
15 The name of the event variable to read from.
20 // \b should thus take twice the value of \a in each event:
21 p = Pbind(\a, Pwhite(1, 10, inf), \b, Pkey(\a) * 2).asStream;
24 p.next(()) // for Pbind, must pass in a default event even if empty