Effection Logo

function useScope

thefrontside/effection

function* useScope(): Operation<Scope>

Get the scope of the currently running Operation.

Return Type

Operation<Scope>

an operation yielding the current scope