Options
All
  • Public
  • Public/Protected
  • All
Menu

Class RequestItem

请求的相关信息集合

Hierarchy

  • RequestItem

Index

Properties

Private _id

_id: string = ""

config

config: Config | null = null

content

content: any = null

资源的内容

ext

ext: string = ".json"

资源的扩展名

file

file: any = null

资源的文件

info

info: IAssetInfo | null = null

资源的相关信息

isNative

isNative: boolean = false

资源是否是原生资源

options

options: Record<string, any> = Object.create(null)

自定义参数

url

url: string = ""

请求的最终url

uuid

uuid: string = ""

请求资源的uuid

Static MAX_DEAD_NUM

MAX_DEAD_NUM: number = 500

Static Private _deadPool

_deadPool: RequestItem[] = []

Accessors

id

  • get id(): string

Methods

recycle

  • recycle(): void

Static create

Generated using TypeDoc