Shravan
Shravan
CDCloudflare Developers
Created by xeon06 on 9/5/2024 in #workers-help
RPC dispose not available?
I had this in runtime, but not in type system. made a helper temporarily
export const disposeSerializableResult = <T, E extends WolfError>(serializable: SerializableOk<T> | SerializableErr<E>): void => {
if (typeof serializable === 'object' && serializable !== null) {
const disposableValue = serializable as unknown as { [Symbol.dispose]?: () => void };
if (typeof disposableValue[Symbol.dispose] === 'function') {
disposableValue[Symbol.dispose]?.();
}
}
};
export const disposeSerializableResult = <T, E extends WolfError>(serializable: SerializableOk<T> | SerializableErr<E>): void => {
if (typeof serializable === 'object' && serializable !== null) {
const disposableValue = serializable as unknown as { [Symbol.dispose]?: () => void };
if (typeof disposableValue[Symbol.dispose] === 'function') {
disposableValue[Symbol.dispose]?.();
}
}
};
2 replies
CDCloudflare Developers
Created by Shravan on 9/11/2024 in #workers-discussions
I seem to have issues compiling with
does anyone know how to enable experimental flags in the toml file?
6 replies
CDCloudflare Developers
Created by Shravan on 9/11/2024 in #workers-discussions
I seem to have issues compiling with
npx wrangler@using-keyword-experimental dev
6 replies
CDCloudflare Developers
Created by Shravan on 9/11/2024 in #workers-discussions
I seem to have issues compiling with
aaah its experimental 🙂
6 replies
CDCloudflare Developers
Created by Shravan on 9/11/2024 in #workers-discussions
I seem to have issues compiling with
it looks like there's something in the rpc docs. https://developers.cloudflare.com/workers/runtime-apis/rpc/lifecycle/
6 replies
CDCloudflare Developers
Created by Shravan on 9/11/2024 in #workers-discussions
I seem to have issues compiling with
6 replies
CDCloudflare Developers
Created by Ottomated on 8/18/2024 in #d1-database
Anyone know why BLOB fields return
did you figure this out? i'm having this issue atm
2 replies
CDCloudflare Developers
Created by Victor on 3/11/2024 in #workers-help
TCP Connection issue
@Victor did you add a transpilation step to the worker build process and point it to neo4j?
5 replies
CDCloudflare Developers
Created by Victor on 3/11/2024 in #workers-help
TCP Connection issue
i'd like to use aura from workers, but they don't support http 😦
5 replies
CDCloudflare Developers
Created by Victor on 3/11/2024 in #workers-help
TCP Connection issue
did you figure this out? also is the code for the connection to the neo4j database something you can share? @Victor
5 replies