Loads plugins, core architecture, platform, etc. ⚠️ Important! Must be called at the beginning of scripts. Plugins do not need to call this. ⚠️ You can instead call this through [`Session`]. If you need to customize initialization, use [`init_with_opts`] instead.
()
| 61 | /// |
| 62 | /// If you need to customize initialization, use [`init_with_opts`] instead. |
| 63 | pub fn init() -> Result<(), InitializationError> { |
| 64 | let options = InitializationOptions::default(); |
| 65 | init_with_opts(options) |
| 66 | } |
| 67 | |
| 68 | /// Unloads plugins, stops all worker threads, and closes open logs. |
| 69 | /// |