D
Deno
Change Theme
Search Answer Overflow
Login
alexp95
Posts
Comments
D
Deno
•
Created by alexp95 on 11/2/2023 in
#help
Cannot pass request object to worker
I am trying to pass a request object to a worker file, but it is not receiving it inside of the worker, for the worker to process
I can post my code if this question is not clear
3 replies
D
Deno
•
Created by alexp95 on 10/27/2023 in
#help
Get a Parameter Value in Oak
so if I set up a router like this
router.get("/:id", (ctx) => {/*handle router context*/})
router.get("/:id", (ctx) => {/*handle router context*/})
then how do I get the value of the id parameter? I have tried ctx.id and it did not accept it
2 replies
D
Deno
•
Created by alexp95 on 10/17/2023 in
#help
How do I have a subrouter in Oak?
I want to use a subrouter in oak to handle part of the routing, how would I do that in Oak? here is an example in Express.js
app.use("/path/to/subrouter", subrouter);
app.use("/path/to/subrouter", subrouter);
5 replies
D
Deno
•
Created by alexp95 on 10/11/2023 in
#help
Can you run Deno.serve in a pooled thread mode?
is there a way in Deno to run a http request in a separate thread?
2 replies