Function: createViewSession()
API / @xmachines/play-view / index / createViewSession
function createViewSession<TActor>(actor, store, options): ViewSession<TActor>;Defined in: packages/play-view/src/view-session.ts:152
Makes a view session.
Type Parameters
| Type Parameter |
|---|
TActor extends ViewActor |
Parameters
| Parameter | Type | Description |
|---|---|---|
actor | TActor | The actor of the provider. |
store | StateStore | undefined | The controlled store of the host, or undefined. |
options | ViewSessionOptions | See ViewSessionOptions. |
Returns
ViewSession<TActor>