Function interactive

  • Marks a task as interactive. Will error on non-interactive environments unless an alternate task is provided.

    Parameters

    • task: Task
    • Optionalalternate: null | Task

    Returns Async

    Task