kysely
Preparing search index...
TarnPoolOptions
Interface TarnPoolOptions<R>
interface
TarnPoolOptions
<
R
>
{
acquireTimeoutMillis
?:
number
;
createRetryIntervalMillis
?:
number
;
createTimeoutMillis
?:
number
;
destroyTimeoutMillis
?:
number
;
idleTimeoutMillis
?:
number
;
max
:
number
;
min
:
number
;
propagateCreateError
?:
boolean
;
reapIntervalMillis
?:
number
;
create
(
cb
:
(
err
:
null
|
Error
,
resource
:
R
)
=>
void
)
:
any
;
destroy
(
resource
:
R
)
:
any
;
log
(
msg
:
string
)
:
any
;
validate
(
resource
:
R
)
:
boolean
;
}
Type Parameters
R
Index
Properties
acquire
Timeout
Millis?
create
Retry
Interval
Millis?
create
Timeout
Millis?
destroy
Timeout
Millis?
idle
Timeout
Millis?
max
min
propagate
Create
Error?
reap
Interval
Millis?
Methods
create
destroy
log?
validate?
Properties
Optional
acquire
Timeout
Millis
acquireTimeoutMillis
?:
number
Optional
create
Retry
Interval
Millis
createRetryIntervalMillis
?:
number
Optional
create
Timeout
Millis
createTimeoutMillis
?:
number
Optional
destroy
Timeout
Millis
destroyTimeoutMillis
?:
number
Optional
idle
Timeout
Millis
idleTimeoutMillis
?:
number
max
max
:
number
min
min
:
number
Optional
propagate
Create
Error
propagateCreateError
?:
boolean
Optional
reap
Interval
Millis
reapIntervalMillis
?:
number
Methods
create
create
(
cb
:
(
err
:
null
|
Error
,
resource
:
R
)
=>
void
)
:
any
Parameters
cb
:
(
err
:
null
|
Error
,
resource
:
R
)
=>
void
Returns
any
destroy
destroy
(
resource
:
R
)
:
any
Parameters
resource
:
R
Returns
any
Optional
log
log
(
msg
:
string
)
:
any
Parameters
msg
:
string
Returns
any
Optional
validate
validate
(
resource
:
R
)
:
boolean
Parameters
resource
:
R
Returns
boolean
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
acquire
Timeout
Millis
create
Retry
Interval
Millis
create
Timeout
Millis
destroy
Timeout
Millis
idle
Timeout
Millis
max
min
propagate
Create
Error
reap
Interval
Millis
Methods
create
destroy
log
validate
kysely
Loading...