Documentation
Preparing search index...
@saltcorn/data
models/internal/mail_queue
MailQueue
Class MailQueue
Mail Queue class
Index
Constructors
constructor
Methods
empty
Queue
get
Passed
Delay
handle
Notification
load
Notifications
Constructors
constructor
new
MailQueue
()
:
MailQueue
Returns
MailQueue
Methods
Static
empty
Queue
emptyQueue
(
user
:
User
)
:
Promise
<
any
>
Parameters
user
:
User
Returns
Promise
<
any
>
Static
get
Passed
Delay
getPassedDelay
(
notifications
:
Notification
[]
)
:
number
calc time since last sent
Parameters
notifications
:
Notification
[]
Returns
number
Static
handle
Notification
handleNotification
(
notification
:
Notification
,
user
:
User
)
:
Promise
<
void
>
Parameters
notification
:
Notification
Notification
user
:
User
Returns
Promise
<
void
>
Static
load
Notifications
loadNotifications
(
userId
:
number
,
sendStatus
?:
string
)
:
Promise
<
any
>
Parameters
userId
:
number
Optional
sendStatus
:
string
Returns
Promise
<
any
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
empty
Queue
get
Passed
Delay
handle
Notification
load
Notifications
Documentation
Loading...
Mail Queue class