Prompt typedef

Future<String> Prompt (
  1. Location location,
  2. Action action

Produce a prompt message given location and action

This method is used to conditionally determine:

  1. Whether or not a prompt is needed
  2. What prompt message should be used

When a History is in blocking mode, this may be passed to a Confirmation


typedef Future<String> Prompt(Location location, Action action);