imported modules does not have async context #37

Closed
opened 2025-03-06 23:19:26 +00:00 by ElhamAryanpur · 0 comments
ElhamAryanpur commented 2025-03-06 23:19:26 +00:00 (Migrated from github.com)

The imported modules and files does not contain the same async context as the main runtime.

Perhaps a solution is to write a custom require function to fix this. Maybe even extend the current one.

Related links:

The imported modules and files does not contain the same async context as the main runtime. Perhaps a solution is to write a custom `require` function to fix this. Maybe even extend the current one. Related links: * [lune](https://github.com/lune-org/lune/blob/main/crates/lune-std/src/globals/require/mod.rs) * [mlua](https://github.com/mlua-rs/mlua/discussions/504)
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
ArkForgeLabs/Astra#37
No description provided.