mirror of
https://github.com/denoland/deno
synced 2024-11-05 18:45:24 +00:00
11 lines
231 B
Rust
11 lines
231 B
Rust
use deno_core::v8::fast_api::FastApiCallbackOptions;
|
|
use deno_ops::op;
|
|
|
|
#[op(fast)]
|
|
fn op_fallback(options: Option<&mut FastApiCallbackOptions>) {
|
|
if let Some(options) = options {
|
|
options.fallback = true;
|
|
}
|
|
}
|
|
|
|
fn main() {}
|