- AddSessionCallback
- DeleteTimedOutSessionsCallback
- GenerateSessionCallback
- GetSessionCallback
- GetUserCallback
- RemoveSessionCallback
- SessionExistsCallback
- UseSessionCallback
- UserExistsCallback
Ƭ AddSessionCallback: function
Defined in src/models/KPSession.ts:34
The callback for the KPSession.addSession
method.
▸ (err
: Error): void
Parameters:
Name | Type | Description |
---|---|---|
err |
Error | If an error occurred, the callback will receive it here. |
Ƭ DeleteTimedOutSessionsCallback: function
Defined in src/models/KPSession.ts:72
The callback for the KPSession.deleteTimedOutSessions
method.
▸ (err
: Error): void
Parameters:
Name | Type | Description |
---|---|---|
err |
Error | If an error occurred, the callback will receive it here. |
Ƭ GenerateSessionCallback: function
Defined in src/models/KPSession.ts:43
The callback for the KPSession.generateSession
method.
▸ (err
: Error, sess
: KPSession): void
Parameters:
Name | Type | Description |
---|---|---|
err |
Error | If an error occurred, the callback will receive it here. |
sess |
KPSession | The generated session. |
Ƭ GetSessionCallback: function
Defined in src/models/KPSession.ts:15
The callback for the KPSession.getSession
method.
▸ (err
: Error, sess
: KPSession): void
Parameters:
Name | Type | Description |
---|---|---|
err |
Error | If an error occurred, the callback will receive it here. |
sess |
KPSession | The target session. |
Ƭ GetUserCallback: function
Defined in src/models/KPUser.ts:12
The callback for the KPUser.getUser
method.
▸ (err
: Error, user
: KPUser): void
Parameters:
Name | Type | Description |
---|---|---|
err |
Error | If an error occurred, the callback will receive it here. |
user |
KPUser | The target user. |
Ƭ RemoveSessionCallback: function
Defined in src/models/KPSession.ts:25
The callback for the KPSession.removeSession
method.
▸ (err
: Error): void
Parameters:
Name | Type | Description |
---|---|---|
err |
Error | If an error occurred, the callback will receive it here. |
Ƭ SessionExistsCallback: function
Defined in src/models/KPSession.ts:62
The callback for the KPSession.sessionExists
method.
▸ (err
: Error, exists
: boolean): void
Parameters:
Name | Type | Description |
---|---|---|
err |
Error | If an error occurred, the callback will receive it here. |
exists |
boolean | Indicates whether or not a match was found. |
Ƭ UseSessionCallback: function
Defined in src/models/KPSession.ts:53
The callback for the KPSession.useSession
method.
▸ (err
: Error): void
Parameters:
Name | Type | Description |
---|---|---|
err |
Error | If an error occurred, the callback will receive it here. |
Ƭ UserExistsCallback: function
Defined in src/models/KPUser.ts:22
The callback for the KPUser.userExists
method.
▸ (err
: Error, exists
: boolean): void
Parameters:
Name | Type | Description |
---|---|---|
err |
Error | If an error occurred, the callback will receive it here. |
exists |
boolean | Indicates whether or not a match was found. |