Complete lifecycle API documentation and pin native release preconditions
This commit is contained in:
1 parent
85c460cd3b
commit
d86cec3093
2 files changed
+5
-1
No files matched your search
@@ -91,6 +91,7 @@ def check_toggle_mouse(helper, owner, state_file, executable):
|
||||
call("activate", {"appHandle": other_app["appHandle"]})
|
||||
wait_for_state(state_file, lambda s: not s["active"])
|
||||
finally:
|
||||
assert cursor(*outside) == outside
|
||||
toggle(button, "up")
|
||||
state = wait_for_state(state_file, lambda s: len(s["events"]) >= count + 2)
|
||||
events = state["events"][count:]
|
||||
|
||||
@@ -49,7 +49,10 @@ export class CuaInputTurns {
|
||||
/** @param ctx - Provider scope owning the lifecycle listeners. */
|
||||
constructor(private readonly ctx: Context) {}
|
||||
|
||||
/** @returns Exact listener disposers for the runtime effect to retain through native cleanup. */
|
||||
/**
|
||||
* Install turn admission and finalization listeners.
|
||||
* @returns Exact disposers for the runtime effect to retain through native cleanup.
|
||||
*/
|
||||
*install(): Generator<() => void> {
|
||||
const ctx = this.ctx
|
||||
yield ctx.on('agent/pre-step', (event, next) => {
|
||||
|
||||
Reference in new issue
Block a user