doFunction function

void doFunction(
  1. void fn(
      )
    )

    quick way to start a pure function as a action

    Implementation

    void doFunction(void Function() fn) {
      _FnAction action = _FnAction();
      action.fn = fn;
      _GlobalStore.doAction(action);
    }