0.1.2 #4
@@ -1,4 +1,4 @@
|
|||||||
import { Context, Effect, ExecutionStrategy, Exit, Fiber, Ref, Runtime, Scope, Stream, SubscriptionRef } from "effect"
|
import { Context, Effect, ExecutionStrategy, Exit, Fiber, Pipeable, Ref, Runtime, Scope, Stream, SubscriptionRef } from "effect"
|
||||||
import React from "react"
|
import React from "react"
|
||||||
import * as ReffuseContext from "./ReffuseContext.js"
|
import * as ReffuseContext from "./ReffuseContext.js"
|
||||||
import * as ReffuseRuntime from "./ReffuseRuntime.js"
|
import * as ReffuseRuntime from "./ReffuseRuntime.js"
|
||||||
@@ -386,6 +386,13 @@ export class Reffuse<R> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
export interface Reffuse<R> extends Pipeable.Pipeable {}
|
||||||
|
|
||||||
|
Reffuse.prototype.pipe = function pipe() {
|
||||||
|
return Pipeable.pipeArguments(this, arguments)
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
export interface RenderOptions {
|
export interface RenderOptions {
|
||||||
/** Prevents re-executing the effect when the Effect runtime or context changes. Defaults to `false`. */
|
/** Prevents re-executing the effect when the Effect runtime or context changes. Defaults to `false`. */
|
||||||
readonly doNotReExecuteOnRuntimeOrContextChange?: boolean
|
readonly doNotReExecuteOnRuntimeOrContextChange?: boolean
|
||||||
|
|||||||
Reference in New Issue
Block a user