Skip to content

ECS Framework API v2.1.50


ECS Framework API / WorkerCreationOptions

Interface: WorkerCreationOptions

Defined in: Platform/IPlatformAdapter.ts:63

Worker创建选项

Properties

type?

optional type: "classic" | "module"

Defined in: Platform/IPlatformAdapter.ts:67

Worker类型


credentials?

optional credentials: "omit" | "same-origin" | "include"

Defined in: Platform/IPlatformAdapter.ts:72

凭据模式


name?

optional name: string

Defined in: Platform/IPlatformAdapter.ts:77

Worker名称(用于调试)

Released under the MIT License.