Documentation
Preparing search index...
@adonisjs/bodyparser
src/types
PartHandler
Type Alias PartHandler
PartHandler
:
(
part
:
MultipartStream
,
reportChunk
:
(
chunk
:
Buffer
)
=>
void
,
)
=>
Promise
<
{
filePath
?:
string
;
tmpPath
?:
string
}
&
{
[
key
:
string
]:
any
}
|
void
,
>
The callback handler function for processing a multipart file part
Type Declaration
(
part
:
MultipartStream
,
reportChunk
:
(
chunk
:
Buffer
)
=>
void
,
)
:
Promise
<
{
filePath
?:
string
;
tmpPath
?:
string
}
&
{
[
key
:
string
]:
any
}
|
void
,
>
Parameters
part
:
MultipartStream
reportChunk
:
(
chunk
:
Buffer
)
=>
void
Returns
Promise
<
{
filePath
?:
string
;
tmpPath
?:
string
}
&
{
[
key
:
string
]:
any
}
|
void
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Documentation
Loading...
The callback handler function for processing a multipart file part