action3#
Kind:
function |
Package: package:preact_signals
Function: action3#
R Function(A, B, C) action3(R Function(A, B, C) fn)
Wraps a 3-argument callback function in a type-safe action.
Executes fn inside a transaction-safe batch and untracked block.
Example Usage#
final setCoordinates = action3((double lat, double lng, String label) {
latitude.value = lat;
longitude.value = lng;
locationName.value = label;
});
References#
The action3 type is referenced and used in the following pages: