onMoveEntryRequested property

EventStream<OnMoveEntryRequestedEvent> get onMoveEntryRequested

Raised when moving an entry (recursively if a directory) is requested. If an error occurs, then errorCallback must be called.

Implementation

EventStream<OnMoveEntryRequestedEvent> get onMoveEntryRequested =>
    $js.chrome.fileSystemProvider.onMoveEntryRequested.asStream(($c) => (
          $js.MoveEntryRequestedOptions options,
          $js.ProviderSuccessCallback successCallback,
          $js.ProviderErrorCallback errorCallback,
        ) {
          return $c(OnMoveEntryRequestedEvent(
            options: MoveEntryRequestedOptions.fromJS(options),
            successCallback: () {
              successCallback.callAsFunction(
                null,
              );
            },
            errorCallback: (ProviderError error) {
              errorCallback.callAsFunction(null, error.toJS);
            },
          ));
        }.toJS);