N
N
NubasLol2019-07-26 16:11:22
Laravel
NubasLol, 2019-07-26 16:11:22

Is it possible to queue a notification?

I use lara classes for notifications. The question arose, can I queue a specific driver.
I use database and email. I want to write down in a DB at once, and email to put in queue. So can be done?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
K
Konstantin B., 2019-07-26
@Kostik_1993

Can. Only you need to dig not in the direction of notifications, but in the direction of sending an email, they just have the possibility of queues if you have read the documentation

R
Razgelday, 2019-08-20
@Razgelday

And why in a DB it is necessary to send at once?
Why is it impossible to send the entire notification to the queue and immediately write it to the database during processing and send Email?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question