@@ -1,4 +1,4 @@
|
|||||||
import { Context, Effect, Fiber, FiberRefs, Ref, Runtime, RuntimeFlags, Scope, Stream, SubscriptionRef } from "effect"
|
import { Context, Effect, Fiber, Ref, Runtime, Scope, Stream, SubscriptionRef } from "effect"
|
||||||
import React from "react"
|
import React from "react"
|
||||||
import type * as ReffuseReactContext from "./ReffuseReactContext.js"
|
import type * as ReffuseReactContext from "./ReffuseReactContext.js"
|
||||||
import * as ReffuseReactContextProvider from "./ReffuseReactContextProvider.js"
|
import * as ReffuseReactContextProvider from "./ReffuseReactContextProvider.js"
|
||||||
@@ -110,9 +110,6 @@ export class Reffuse<R> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// TODO: allow passing runtime
|
||||||
export const make = <R = never>(): Reffuse<R> =>
|
export const make = <R = never>(): Reffuse<R> =>
|
||||||
new Reffuse(Runtime.make({
|
new Reffuse(Runtime.defaultRuntime)
|
||||||
context: Context.empty(),
|
|
||||||
runtimeFlags: RuntimeFlags.make(),
|
|
||||||
fiberRefs: FiberRefs.empty(),
|
|
||||||
}))
|
|
||||||
|
|||||||
Reference in New Issue
Block a user