RequestAction
Extends:
Action → RequestAction
Example:
import { RequestAction } from 'remote-protocol';
const action = new RequestAction(id, action);
Constructor Summary
| Public Constructor | ||
| public |
constructor(id: *, action: Action) Create a request with given request id and action to fetch. |
|
Member Summary
| Public Members | ||
| public |
The action that was requested to fetch |
|
| public |
id: * The request id |
|
Method Summary
| Public Methods | ||
| public |
exec(session: *) |
|
| public |
fetch(session: *): * |
|
| public |
toArgumentsList(): undefined[] |
|
Inherited Summary
| From class Action | ||
| public |
Execute the action. |
|
| public |
Fetch the action value. |
|
| public |
Returns an arguments list for creating this instance remotely. |
|
| public |
Get a string that represent this class. |
|
Public Constructors
Public Members
Public Methods
public exec(session: *) source
Execute the action.
Override:
Action#execParams:
| Name | Type | Attribute | Description |
| session | * |
public fetch(session: *): * source
Fetch the action value.
Override:
Action#fetchParams:
| Name | Type | Attribute | Description |
| session | * |
Return:
| * |
public toArgumentsList(): undefined[] source
Returns an arguments list for creating this instance remotely.
