OnRunEnd property

Pointer<NativeFunction<OrtStatusPtr Function(Pointer<OrtEp> this_ptr, Pointer<OrtRunOptions> run_options, Bool sync_stream)>> OnRunEnd
getter/setter pair

\brief Called by ORT to notify the EP of the end of a run.

\paramin this_ptr The OrtEp instance. \paramin run_options The run options for this run. \paramin sync_stream Whether any associated stream should be synchronized during this call. Only applicable if there is such a stream.

\note Implementation of this function is optional.

\snippet{doc} snippets.dox OrtStatus Return Value

\since Version 1.23.

Implementation

external ffi.Pointer<
  ffi.NativeFunction<
    OrtStatusPtr Function(
      ffi.Pointer<OrtEp> this_ptr,
      ffi.Pointer<OrtRunOptions> run_options,
      ffi.Bool sync_stream,
    )
  >
>
OnRunEnd;