This tutorial goes over the process of creating and using async functions created in Rust from within a Deno runtime. Then I dive into async operations and explain the concept of reference counting with Deno's Callback Function class.
00:00 Intro
00:18 Explanation of fn-pointers
00:55 Implementing Rust Fn Ptr
02:00 Getting Ptr In JS
03:00 Calling Rust Fn From JS
04:53 Use JS Functions In Rust
07:08 Passing The Callback to Rust
10:26 Async Callback Functions
11:00 Issues With Async Functions
11:24 Reference Counting For Callbacks
13:20 Working Async Callback Operations
14:15 SUBSCRIBE & Discord Shout-out
🔔 JOIN THE COMMUNITY 🔔
https://www.youtube.com/c/JSimplified... -- Subscribe xD
----------------------------------------
-- Social Links --
Discord - / discord
GitHub - https://github.com/tlaceby/