Variable: getPlayViewContext
API / @xmachines/play-vue / getPlayViewContext
const getPlayViewContext: () => ViewContextValue = usePlayView;Defined in: packages/play-vue/src/actor-provider-context.ts:55
Access the current ViewContextValue from inside an ActorProvider tree.
Returns the current ViewContextValue inside an ActorProvider tree.
Returns
Throws
When the caller is outside an
Example
import { usePlayView } from "@xmachines/play-vue";
const view = usePlayView();// view.spec, view.handlers, view.registryDeprecated
Renamed to usePlayView; will be removed in the next major.