Skip to content
Evert Pot edited this page Jul 7, 2020 · 1 revision
/**
 * An action represents a hypermedia form submission or action.
 */
interface Action<T> {

  /**
   * Execute the action or submit the form.
   */
  submit(formData: T): Promise<State>;

}
Clone this wiki locally