Richard
Richard
CDCloudflare Developers
Created by Tilon on 4/6/2024 in #workers-discussions
Hi, I am using the new RPC service
const result = env.RPC_WORKER.doSomething() try { // do some other stuff } catch (e) { // handler errors } finally { resultSymbol.dispose }
11 replies
CDCloudflare Developers
Created by Tilon on 4/6/2024 in #workers-discussions
Hi, I am using the new RPC service
Thanks @steyblind - would you be able to share a simple example with setting ctx? The following worked for me for a simple use case
11 replies
CDCloudflare Developers
Created by Tilon on 4/6/2024 in #workers-discussions
Hi, I am using the new RPC service
@steyblind Did you find a solution in the end? Have a similar situation using RPC and even with a very basic function I see outcome: cancelled in the logs (even though everything works as expected).
11 replies
CDCloudflare Developers
Created by Richard on 8/9/2024 in #workers-help
AWS SDK in Tail Worker?
Thanks for the info! Yeah came across aws4fetch which looks interesting. Was hoping to find some examples with SNS which I havn't been able to find (yet). I came across this example of someone using SDKs in workers (although could not confirm if it actually works) which gives me hope that it is in fact possible somehow https://github.com/winstxnhdw/mail-worker
7 replies
CDCloudflare Developers
Created by Richard on 8/9/2024 in #workers-help
AWS SDK in Tail Worker?
No description
7 replies
CDCloudflare Developers
Created by Richard on 8/9/2024 in #workers-help
AWS SDK in Tail Worker?
Trying to use @aws-sdk/client-s3 and @aws-sdk/client-sns. Gave the above a shot - could not get it to work. What I did change was removed compatibility_flags = ["nodejs_compat"] and used node_compat = true. This seems to polyfill most of the APIs except for http2 and v8 (will attach a pic). So currently looking for a solution to somehow polfyill these two aswell (if it's possible).
7 replies