Skip to content

Home > @esengine/ecs-framework-monorepo > RpcCallInfo

RpcCallInfo interface

RPC调用信息

Signature:

typescript
export interface RpcCallInfo<T extends readonly unknown[] = readonly unknown[]>

Properties

Property

Modifiers

Type

Description

completedAt?

number

(Optional) 完成时间

createdAt

number

创建时间

nextRetryTime?

number

(Optional) 下次重试时间

reject?

(reason: RpcError) => void

(Optional) Promise拒绝器

request

RpcCallRequest<T>

调用请求

resolve?

(value: unknown) => void

(Optional) Promise解析器

retryCount

number

重试次数

sentAt?

number

(Optional) 发送时间

status

RpcCallStatus

调用状态

基于 MIT 许可证发布