CapGdlrJobsRegistry

Inherits: GdlrCapability < RefCounted < Object

Capability that stores job specifications by key.

Description

Register specifications in GdlrModule.register(). The bundled jobs module provides this capability. See CapGdlrJobs.

Tutorials

Methods

void

register_job(job_spec: CapGdlrJobs.JobSpec) abstract

CapGdlrJobs.JobSpec

get_job(key: StringName) abstract


Method Descriptions

void register_job(job_spec: CapGdlrJobs.JobSpec) abstract 🔗

Stores job_spec under its KEY constant. A later call with the same key replaces the specification.


CapGdlrJobs.JobSpec get_job(key: StringName) abstract 🔗

Returns the specification stored under key, or null.