Interface IFunctionHandler<State>