The input type
The output/data type
The error type
Readonly[ReadonlydataThe most recent successful result, if any.
ReadonlyerrorThe most recent error, if any.
ReadonlyisWhether the mutation is currently running.
ReadonlyresetReset to initial state: isLoading=false, data=None, error=None.
ReadonlyrunExecute the mutation with the given input. Returns the result on success, or fails with the error.
A reactive mutation that tracks loading, data, and error states. Unlike AsyncReadable, mutations are triggered explicitly via
run(input).Example