()
| 29 | |
| 30 | impl AsyncIncrementFunction { |
| 31 | pub(super) fn new() -> Rc<Self> { |
| 32 | Rc::from(Self { |
| 33 | metadata: CallableMetadataBuilder::new("ASYNC_INCREMENT") |
| 34 | .with_return_type(ExprType::Integer) |
| 35 | .with_async(true) |
| 36 | .with_syntax(&[( |
| 37 | &[SingularArgSyntax::RequiredValue( |
| 38 | RequiredValueSyntax { |
| 39 | name: Cow::Borrowed("value"), |
| 40 | vtype: ExprType::Integer, |
| 41 | }, |
| 42 | ArgSepSyntax::End, |
| 43 | )], |
| 44 | None, |
| 45 | )]) |
| 46 | .test_build(), |
| 47 | }) |
| 48 | } |
| 49 | } |
| 50 | |
| 51 | #[async_trait(?Send)] |
nothing calls this directly
no test coverage detected