SupportsLiveUpdates
interface SupportsLiveUpdates
Methods
bool
isLive()
Determine if the property should receive live updates.
array
liveListeners()
Get the live-update listeners that should refresh the property.
int|null
liveThrottle()
Get the number of milliseconds to throttle live updates by.
Details
at line 17
SupportsLiveUpdates
live(array|object|string|null $on = null, array|Channel|string|null $channel = null, int|null $throttle = null)
Mark the property as live, refreshing it whenever one of the given events is received.
at line 22
bool
isLive()
Determine if the property should receive live updates.
at line 29
array
liveListeners()
Get the live-update listeners that should refresh the property.
at line 34
int|null
liveThrottle()
Get the number of milliseconds to throttle live updates by.