Skip to main content

Polling for new comments

Commentions supports polling for new comments. You can enable it on any component by calling the poll method and passing the desired interval.

Infolists\Components\Section::make('Comments')
->schema([
CommentsEntry::make('comments')
->mentionables(fn (Model $record) => User::all())
->poll('10s')
]),