0.1.0 #1
@@ -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 type * as ReffuseReactContext from "./ReffuseReactContext.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> =>
|
||||
new Reffuse(Runtime.make({
|
||||
context: Context.empty(),
|
||||
runtimeFlags: RuntimeFlags.make(),
|
||||
fiberRefs: FiberRefs.empty(),
|
||||
}))
|
||||
new Reffuse(Runtime.defaultRuntime)
|
||||
|
||||
Reference in New Issue
Block a user