Preparing search index...
The search index is not available
foy
foy
task
Function task
Define a task
Param: name
Param: dependencies
Param: fn
task
<
O
>
(
name
,
fn
)
:
Task
<
O
>
Type Parameters
O
Parameters
name
:
string
fn
:
TaskFn
<
O
,
any
>
Returns
Task
<
O
>
task
<
O
>
(
name
,
dependencies
,
fn
?
)
:
Task
<
O
>
Type Parameters
O
Parameters
name
:
string
dependencies
:
Dependency
[]
Optional
fn
:
TaskFn
<
O
,
any
>
Returns
Task
<
O
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
foy
Loading...
Define a task
Param: name
Param: dependencies
Param: fn