Skip to content

@continuum-js/frp


@continuum-js/frp / runInScope

Function: runInScope() ​

runInScope<T>(scope, fn): T

Defined in: index.ts:107

Run fn with scope as the ambient owner; restores the previous one.

Type Parameters ​

T ​

T

Parameters ​

scope ​

Scope | null

fn ​

() => T

Returns ​

T