Interface UpdateContext

All Superinterfaces:
ViewContext
All Known Implementing Classes:
UpdateContextImpl

@NonExtendable public interface UpdateContext extends ViewContext
Context for View.onUpdate: fired by scheduled ticks, state flushes, explicit updates and pagination settles. Main thread, engine-invoked.
  • Method Details

    • trigger

      @NotNull @NotNull UpdateTrigger trigger()
      Returns what triggered this update pass.
      Returns:
      the update trigger