# WorkflowMessageInterface

Chevere\Interfaces\Workflow\WorkflowMessageInterface

view source (opens new window)

# Description

Describes the component in charge of defining a workflow queue.

# Methods

# withPriority

Return an instance with the specified $priority.

Parameters

  • priority: int

Return

self

This method MUST retain the state of the current instance, and return an instance that contains the specified $priority.


# withDelay

Return an instance with the specified delay in $seconds.

Parameters

  • seconds: int

Return

self

This method MUST retain the state of the current instance, and return an instance that contains the specified delay in $seconds.


# withExpiration

Return an instance with the specified expiration in $seconds.

Parameters

  • seconds: int

Return

self

This method MUST retain the state of the current instance, and return an instance that contains the specified expiration in $seconds.


# workflowRun

Provides access to the instance WorkflowRunInterface.


# uuid

Provides access to the token.

Return

string


# priority

Provides access to the priority execution.

Return

int


# delay

Provides access to the delay execution.

Return

int


# expiration

Provides access to the expiration, in milliseconds.

Return

int


Last Updated: 5/1/2021, 2:31:10 PM