(&self, program: Program)
| 3064 | } |
| 3065 | |
| 3066 | pub async fn init_database(&self, program: Program) -> Result<Option<ReducerCallResult>, InitDatabaseError> { |
| 3067 | call_instance!( |
| 3068 | self, |
| 3069 | "<init_database>", |
| 3070 | program, |
| 3071 | |p, inst| inst.init_database(p), |
| 3072 | |p, inst| inst.init_database(p).await, |
| 3073 | )? |
| 3074 | .map_err(InitDatabaseError::Other) |
| 3075 | } |
| 3076 | |
| 3077 | pub async fn update_database( |
| 3078 | &self, |
nothing calls this directly
no outgoing calls
no test coverage detected