Home Reference Source
import ReflectPromiseAction from 'remote-context/lib/actions/ReflectPromiseAction.js'
public class | source

ReflectPromiseAction

Extends:

ActionReflectAction → ReflectPromiseAction

Static Method Summary

Static Public Methods
public static

fromValue(session: *, target: *, resolve: *, reject: *): *

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public

reject: *

public

resolve: *

Method Summary

Public Methods
public

exec(session: *)

public

fetch(session: *)

public

release(session: *)

public

Inherited Summary

From class Action
public

exec(session: Session): undefined | Promise

Execute the action.

public

fetch(session: Session): *

Fetch the action value.

public

Returns an arguments list for creating this instance remotely.

public

Get a string that represent this class.

From class ReflectAction
public

target: *

public

fetchTarget(session: *): *

public

Static Public Methods

public static fromValue(session: *, target: *, resolve: *, reject: *): * source

Params:

NameTypeAttributeDescription
session *
target *
resolve *
reject *

Return:

*

Public Constructors

public constructor() source

Override:

ReflectAction#constructor

Public Members

public reject: * source

public resolve: * source

Public Methods

public exec(session: *) source

Execute the action.

Override:

Action#exec

Params:

NameTypeAttributeDescription
session *

public fetch(session: *) source

Fetch the action value.

Override:

Action#fetch

Params:

NameTypeAttributeDescription
session *

public release(session: *) source

Params:

NameTypeAttributeDescription
session *

public toArgumentsList(): undefined[] source

Returns an arguments list for creating this instance remotely.

Override:

ReflectAction#toArgumentsList

Return:

undefined[]