Prompt typedef

Future<String> Prompt (Location location, 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

Implementation

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