- rpc generics
- some internal types to expose from rpc
This commit is contained in:
2024-10-03 23:11:39 +01:00
parent f8dd4d9fce
commit 67be91538b
8 changed files with 110 additions and 50 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ function App() {
const [data, setData] = useState<unknown>('')
useEffect(() => {
rpc.callClient('cefReady', [])
rpc.callClient('cefReady')
rpc.register('customCefEvent', args => setData(args))
}, [])