Code & Deploy
siGit Code
Git Hosting
Toggle menu
siGit Code
Git Hosting
Sign in
Sign in
@devries-cameron20
/
t3code-1
Fork
0
The best way to control Claude Code, Codex and more from any computer or phone
t3code-1
/
.repos
/
effect
/
packages
/
tools
/
bundle
/
fixtures
/
cache.ts
Code
Commits
Issues
Pulls
Cloud Agent
CICD
main
main
ts
10 lines
219 Bytes
Copy permalink
Copy
Raw
1
import
*
as
Cache
from
"
effect/Cache
"
2
import
*
as
Effect
from
"
effect/Effect
"
3
4
Cache
.
make
({
5
capacity
:
1024
,
6
lookup
:
(
key
:
string
)
=>
Effect
.
succeed
(
key
)
7
}).
pipe
(
8
Effect
.
flatMap
(
Cache
.
get
(
"
1
"
)),
9
Effect
.
runFork
10
)