UNPKG
@purevue/reactivity
Version:
latest (0.0.9)
0.0.9
0.0.8
0.0.7
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
## 📖 Introduction
@purevue/reactivity
/
dist
/
effect
/
index.d.ts
8 lines
•
293 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
import
{
ReactiveEffect
}
from
'./ReactiveEffect'
;
/** * 注册副作用函数,并立即执行一次,触发依赖收集 */
export
declare
function
effect
(
fn: () =>
void
):
ReactiveEffect
<
void
>;
export
*
from
'./ReactiveEffect'
;
export
*
from
'./batch'
;
//# sourceMappingURL=index.d.ts.map