Package dev.miyomiyo.agentbridge.client
Interface ClientWork
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
public interface ClientWork
Read-only access on the Minecraft client thread; never starts work or performs I/O.
-
Method Summary
Modifier and TypeMethodDescriptionjava.util.Optional<dev.miyomiyo.agentbridge.api.work.WorkSnapshot> snapshot(dev.miyomiyo.agentbridge.api.WorldContext world) Return the latest board for the requested world visit.
-
Method Details
-
snapshot
java.util.Optional<dev.miyomiyo.agentbridge.api.work.WorkSnapshot> snapshot(dev.miyomiyo.agentbridge.api.WorldContext world) Return the latest board for the requested world visit. Empty before the first board or after that visit retires. Dimension travel retains world-wide work; the returned world identifies the board's observed location, which may lag the requested current location. Callers must check their own domain binding against live facts before applying an effect. Retaining a snapshot does not keep it current. Disconnection or stale execution evidence cannot report RUNNING activity.
-