interface SchedulingMutex (View source)

Methods

bool
create(Event $event, DateTimeInterface $time)

Attempt to obtain a scheduling mutex for the given event.

bool
exists(Event $event, DateTimeInterface $time)

Determine if a scheduling mutex exists for the given event.

Details

bool create(Event $event, DateTimeInterface $time)

Attempt to obtain a scheduling mutex for the given event.

Parameters

Event $event
DateTimeInterface $time

Return Value

bool

bool exists(Event $event, DateTimeInterface $time)

Determine if a scheduling mutex exists for the given event.

Parameters

Event $event
DateTimeInterface $time

Return Value

bool

Laravel Cloud is the best place to deploy Laravel, Nuxt, Express, Hono, Node.js, Bun, Go, Flask, Python, and more, with dedicated infrastructure available on AWS through Laravel Private Cloud.