@nats-io/nats-core
Preparing search index...
Bench
Class Bench
Index
Constructors
constructor
Properties
async
Requests?
callbacks
msgs
nc
payload
perf
pub?
rep?
req?
size
sub?
subject
Methods
process
Metrics
run
run
Async
run
Callbacks
Constructors
constructor
new
Bench
(
nc
:
NatsConnection
,
opts
?:
BenchOpts
)
:
Bench
Parameters
nc
:
NatsConnection
opts
:
BenchOpts
= ...
Returns
Bench
Properties
Optional
async
Requests
asyncRequests
?:
boolean
callbacks
callbacks
:
boolean
msgs
msgs
:
number
nc
nc
:
NatsConnection
payload
payload
:
Uint8Array
perf
perf
:
Perf
Optional
pub
pub
?:
boolean
Optional
rep
rep
?:
boolean
Optional
req
req
?:
boolean
size
size
:
number
Optional
sub
sub
?:
boolean
subject
subject
:
string
Methods
process
Metrics
processMetrics
()
:
Metric
[]
Returns
Metric
[]
run
run
()
:
Promise
<
Metric
[]
>
Returns
Promise
<
Metric
[]
>
run
Async
runAsync
()
:
Promise
<
void
>
Returns
Promise
<
void
>
run
Callbacks
runCallbacks
()
:
Promise
<
void
>
Returns
Promise
<
void
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
async
Requests
callbacks
msgs
nc
payload
perf
pub
rep
req
size
sub
subject
Methods
process
Metrics
run
run
Async
run
Callbacks
@nats-io/nats-core
Loading...