Private
#intervalPrivate
#invocationPrivate
#registeredPrivate
#resourcesReadonly
defaultReadonly
loggerReadonly
promisesReadonly
schedulesReadonly
storePrivate
#_The unique string identifier of the resource to retrieve.
The resource of type R if found, or undefined if not found.
The method uses type assertion to cast the resource to type R. Ensure that the type parameter R matches the actual type of the stored resource to avoid runtime type errors.
Rest
...argsWithOverrides: any[]Schedule a resonate function.
The schedule name.
The schedule cron expression.
The function to schedule.
Rest
...args: [...Params<F>[], PartialOptions?]The function arguments.
The schedule object.
Schedule a resonate function that is already registered.
The schedule name.
The schedule cron expression.
The registered function name.
Rest
...args: any[]The function arguments.
The schedule object.
Sets a global named resource for the Resonate instace. This resource will be available in all the children Contexts of the current top level execution.
Caller is responsible of the life cycle of the resource.
A unique string identifier for the resource.
The resource to be stored. Can be of any type.
Throws an error if a resource with the same name already exists in the current Resonate instace.
Retrieves a resource by name from the Resonate instance.