Class FileTask

Index

Constructor methods

Constructor methods

constructor(name: string, prereqs?: Array<string>, action?: () => void, opts?: FileTaskOptions): FileTask

Parameters

  • name: string

    The name of the Task

  • prereqs?: Array<string> optional

    Prerequisites to be run before this task

  • action?: () => void optional

    The action to perform to create this file

  • opts?: FileTaskOptions optional

    Perform this task asynchronously. If you flag a task with this option, you must call the global complete method inside the task's action, for execution to proceed to the next task.

Returns

FileTask