package arez.doc.examples.observe;

import arez.Arez;
import arez.Flags;

public class ObserverExample2
{
  public static void main( String[] args )
  {
    Arez.context().observer( "MyObserver", () -> {
      // Interact with arez observable state (or computable values) here
      // and any time these changed this function will be re-run.
      //DOC ELIDE START
      //DOC ELIDE END
    }, Flags.READ_WRITE );
  }
}

@@ -42,19 +42,26 @@
 t arez.A
-rez
+ctionFlags
 ;%0Aimport
@@ -66,21 +66,20 @@
 rt arez.
-Flags
+Arez
 ;%0A%0Apubli
@@ -395,16 +395,22 @@
 %0A    %7D, 
+Action
 Flags.RE

Use correct constants class