/dports/games/openra/OpenRA-release-20200503/OpenRA.Mods.Common/Widgets/Logic/ |
H A D | ReplayUtils.cs | 21 …public static bool PromptConfirmReplayCompatibility(ReplayMetadata replayMeta, Action onCancel = n… in PromptConfirmReplayCompatibility() argument 23 if (onCancel == null) in PromptConfirmReplayCompatibility() 24 onCancel = DoNothing; in PromptConfirmReplayCompatibility() 28 …logs.ButtonPrompt("Incompatible Replay", "Replay metadata could not be read.", onCancel: onCancel); in PromptConfirmReplayCompatibility() 34 return IncompatibleReplayDialog("unknown version", version, onCancel); in PromptConfirmReplayCompatibility() 38 return IncompatibleReplayDialog("unknown mod", mod, onCancel); in PromptConfirmReplayCompatibility() 41 return IncompatibleReplayDialog("unavailable mod", mod, onCancel); in PromptConfirmReplayCompatibility() 44 return IncompatibleReplayDialog("incompatible version", version, onCancel); in PromptConfirmReplayCompatibility() 47 return IncompatibleReplayDialog("unavailable map", replayMeta.GameInfo.MapUid, onCancel); in PromptConfirmReplayCompatibility() 52 static bool IncompatibleReplayDialog(string type, string name, Action onCancel) in IncompatibleReplayDialog() argument [all …]
|
/dports/mail/nextcloud-mail/mail/vendor/amphp/amp/lib/ |
H A D | CancellationTokenSource.php | 47 private $onCancel; variable in Amp\\CancellationTokenSource 51 $onCancel = null; 53 $this->token = new class($onCancel) implements CancellationToken { 64 * @param mixed $onCancel 67 public function __construct(&$onCancel) argument 70 $onCancel = function (\Throwable $exception) { 140 $this->onCancel = $onCancel; 155 if ($this->onCancel === null) { 159 $onCancel = $this->onCancel; 160 $this->onCancel = null; [all …]
|
/dports/security/keybase/client-v5.7.1/shared/profile/pgp/ |
H A D | index.stories.desktop.tsx | 11 onCancel: Sb.action('onCancel'), 20 Generate: () => ({onCancel: Sb.action('onCancel')}), 21 Import: () => ({onCancel: Sb.action('onCancel')}), 31 onCancel: Sb.action('onCancel'),
|
H A D | no-pgp.native.tsx | 9 const NoPGPView = (props: {onCancel: () => void}) => ( 10 <Modal onCancel={props.onCancel}> 22 dispatch => ({onCancel: () => dispatch(RouteTreeGen.createNavigateUp())}),
|
/dports/misc/netron/node_modules/p-cancelable/ |
H A D | index.d.ts | 38 userFn: (onCancel: OnCancelFunction) => PromiseLike<ReturnType> 43 onCancel: OnCancelFunction 50 onCancel: OnCancelFunction 61 onCancel: OnCancelFunction 74 onCancel: OnCancelFunction 96 onCancel: OnCancelFunction 137 onCancel: OnCancelFunction
|
H A D | readme.md | 20 const cancelablePromise = new PCancelable((resolve, reject, onCancel) => { 23 onCancel(() => { 56 …Web/JavaScript/Reference/Global_Objects/Promise), but with an appended `onCancel` parameter in `ex… 57 Cancelling will reject the promise with `PCancelable.CancelError`. To avoid that, set `onCancel.sho… 62 const cancelablePromise = new PCancelable((resolve, reject, onCancel) => { 65 onCancel.shouldReject = false; 66 onCancel(() => { 112 The function you specify will have `onCancel` appended to its parameters. 117 const fn = PCancelable.fn((input, onCancel) => { 120 onCancel(() => {
|
/dports/databases/pg_tileserv/pg_tileserv-1.0.8/vendor/github.com/jackc/pgconn/internal/ctxwatch/ |
H A D | context_watcher.go | 10 onCancel func() member 20 func NewContextWatcher(onCancel func(), onUnwatchAfterCancel func()) *ContextWatcher { 22 onCancel: onCancel, 43 cw.onCancel()
|
/dports/net-mgmt/promscale/promscale-0.6.2/vendor/github.com/jackc/pgconn/internal/ctxwatch/ |
H A D | context_watcher.go | 10 onCancel func() member 20 func NewContextWatcher(onCancel func(), onUnwatchAfterCancel func()) *ContextWatcher { 22 onCancel: onCancel, 43 cw.onCancel()
|
/dports/net/storj/storj-1.45.3/vendor/github.com/jackc/pgconn/internal/ctxwatch/ |
H A D | context_watcher.go | 10 onCancel func() member 20 func NewContextWatcher(onCancel func(), onUnwatchAfterCancel func()) *ContextWatcher { 22 onCancel: onCancel, 43 cw.onCancel()
|
/dports/databases/timescaledb-backup/timescaledb-backup-0.1.1/vendor/github.com/jackc/pgconn/internal/ctxwatch/ |
H A D | context_watcher.go | 10 onCancel func() member 20 func NewContextWatcher(onCancel func(), onUnwatchAfterCancel func()) *ContextWatcher { 22 onCancel: onCancel, 43 cw.onCancel()
|
/dports/net/cloudquery/cloudquery-0.16.0/vendor/github.com/jackc/pgconn/internal/ctxwatch/ |
H A D | context_watcher.go | 10 onCancel func() member 20 func NewContextWatcher(onCancel func(), onUnwatchAfterCancel func()) *ContextWatcher { 22 onCancel: onCancel, 43 cw.onCancel()
|
/dports/games/automuteus/automuteus-6.15.2/vendor/github.com/jackc/pgconn/internal/ctxwatch/ |
H A D | context_watcher.go | 10 onCancel func() member 20 func NewContextWatcher(onCancel func(), onUnwatchAfterCancel func()) *ContextWatcher { 22 onCancel: onCancel, 43 cw.onCancel()
|
/dports/security/keybase/client-v5.7.1/shared/profile/ |
H A D | modal.tsx | 6 onCancel?: () => void 10 const Modal = ({children, onCancel, skipButton}: Props) => ( 11 <Kb.PopupWrapper onCancel={onCancel}> 16 {onCancel && !skipButton && ( 18 <Kb.Button type="Dim" label="Cancel" onClick={onCancel} />
|
/dports/lang/mono-basic/mono-basic-4.7/vbruntime/Test/Microsoft.VisualBasic.Devices/ |
H A D | NetworkTests.vb | 128 Dim onCancel As Microsoft.VisualBasic.FileIO.UICancelOption 273 onCancel = Microsoft.VisualBasic.FileIO.UICancelOption.DoNothing 298 onCancel = Microsoft.VisualBasic.FileIO.UICancelOption.ThrowException 325 onCancel = Microsoft.VisualBasic.FileIO.UICancelOption.DoNothing 367 Dim onCancel As Microsoft.VisualBasic.FileIO.UICancelOption 521 onCancel = Microsoft.VisualBasic.FileIO.UICancelOption.DoNothing 546 onCancel = Microsoft.VisualBasic.FileIO.UICancelOption.ThrowException 573 onCancel = Microsoft.VisualBasic.FileIO.UICancelOption.DoNothing 596 onCancel = Microsoft.VisualBasic.FileIO.UICancelOption.ThrowException 621 onCancel = Microsoft.VisualBasic.FileIO.UICancelOption.ThrowException [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/android/java/src/org/chromium/chrome/browser/signin/ |
H A D | ConfirmSyncDataStateMachineDelegate.java | 31 void onCancel(); in onCancel() method 43 void onCancel(); in onCancel() method 87 public void onCancel(DialogInterface dialog) { in onCancel() method in ConfirmSyncDataStateMachineDelegate.ProgressDialogFragment 88 super.onCancel(dialog); in onCancel() 89 mListener.onCancel(); in onCancel() 131 public void onCancel(DialogInterface dialog) { in onCancel() method in ConfirmSyncDataStateMachineDelegate.TimeoutDialogFragment 132 super.onCancel(dialog); in onCancel() 133 mListener.onCancel(); in onCancel()
|
H A D | ConfirmManagedSyncDataDialog.java | 34 void onCancel(); in onCancel() method 73 .setNegativeButton(R.string.cancel, (dialog, which) -> mListener.onCancel()) in onCreateDialog() 78 public void onCancel(DialogInterface dialog) { in onCancel() method in ConfirmManagedSyncDataDialog 79 super.onCancel(dialog); in onCancel() 80 mListener.onCancel(); in onCancel()
|
H A D | ConfirmSyncDataStateMachine.java | 75 void onCancel(); in onCancel() method 130 mListener.onCancel(); in cancel() 206 mDelegate.showFetchManagementPolicyProgressDialog(this::onCancel); in showProgressDialog() 231 public void onCancel() { in checkTimeout() 232 ConfirmSyncDataStateMachine.this.onCancel(); in checkTimeout() 259 public void onCancel() { in onCancel() method in ConfirmSyncDataStateMachine
|
/dports/www/grafana8/grafana-8.3.6/public/app/features/variables/pickers/shared/ |
H A D | VariableLink.tsx | 11 onCancel: () => void; 18 export const VariableLink: FC<Props> = ({ loading, onClick: propsOnClick, text, onCancel, id }) => { 38 <LoadingIndicator onCancel={onCancel} /> 68 const LoadingIndicator: FC<Pick<Props, 'onCancel'>> = ({ onCancel }) => { 72 onCancel(); 74 [onCancel]
|
/dports/games/openra/OpenRA-release-20200503/OpenRA.Mods.Common/Widgets/ |
H A D | ConfirmationDialogs.cs | 23 Action onCancel = null, in ButtonPrompt() argument 67 if (onCancel != null && cancelButton != null) in ButtonPrompt() 74 if (onCancel != null) in ButtonPrompt() 75 onCancel(); in ButtonPrompt() 99 Action<string> onAccept, Action onCancel = null, in TextInputPrompt() argument 159 if (onCancel != null) in TextInputPrompt() 160 onCancel(); in TextInputPrompt()
|
/dports/security/keybase/client-v5.7.1/shared/teams/team/settings-tab/retention/warning/ |
H A D | container.tsx | 11 onCancel: (() => void) | null 20 const onCancel: (() => void) | null = Container.getRouteProps(ownProps, 'onCancel', null) 21 onCancel && onCancel()
|
/dports/security/keybase/client-v5.7.1/shared/chat/delete-history-warning/ |
H A D | index.tsx | 6 onCancel: () => void 10 const DeleteHistoryWarning = ({onCancel, onDeleteHistory}: Props) => ( 11 <Kb.MaybePopup onClose={onCancel}> 12 {Styles.isMobile && <Kb.HeaderHocHeader onCancel={onCancel} />} 25 onClick={onCancel}
|
/dports/security/keybase/client-v5.7.1/shared/wallets/link-existing/ |
H A D | index.tsx | 14 onCancel: () => void 49 : [<Kb.Button key={0} type="Dim" onClick={this.props.onCancel} label="Cancel" />]), 68 onClick={this.props.onCancel} 130 onCancel={this.props.onCancel} 131 onExit={this.state.view === 'name' ? () => this._onViewChange('key') : this.props.onCancel} 143 onCancel: () => void 170 onCancel={this.props.onCancel}
|
/dports/www/grafana8/grafana-8.3.6/packages/grafana-ui/src/components/PanelChrome/ |
H A D | LoadingIndicator.tsx | 13 onCancel: () => void; 19 export const LoadingIndicator: React.FC<LoadingIndicatorProps> = ({ onCancel, loading }) => { 29 className={cx('spin-clockwise', { [styles.clickable]: !!onCancel })} 32 onClick={onCancel}
|
/dports/security/keybase/client-v5.7.1/shared/chat/payments/confirm/ |
H A D | index.tsx | 21 onCancel: () => void 26 <Kb.PopupWrapper onCancel={props.onCancel}> 65 … <Kb.Button type="Dim" onClick={props.onCancel} style={styles.cancelButton} label="Cancel" /> 105 onCancel: () => void 120 onCancel={props.onCancel} 127 onClose={props.onCancel} 129 onBack={props.onCancel}
|
/dports/textproc/opensearch-dashboards/opensearch-dashboards-1.2.0-linux-x64/plugins/observabilityDashboards/node_modules/@blueprintjs/core/src/components/alert/ |
H A D | alert.tsx | 38 * If this prop is enabled, then either `onCancel` or `onClose` must also be defined. 46 * If this prop is enabled, then either `onCancel` or `onClose` must also be defined. 54 * If this prop is defined, then either `onCancel` or `onClose` must also be defined. 117 … * If any of the `cancel` props are defined, then either `onCancel` or `onClose` must be defined. 119 onCancel?(evt?: React.SyntheticEvent<HTMLElement>): void; 129 …* Handler invoked when the Alert is confirmed or canceled; see `onConfirm` and `onCancel` for more… 131 * This is an alternative to defining separate `onConfirm` and `onCancel` handlers. 186 … if (props.onClose == null && (props.cancelButtonText == null) !== (props.onCancel == null)) { 190 const hasCancelHandler = props.onCancel != null || props.onClose != null; 204 const { onCancel, onClose, onConfirm } = this.props; [all …]
|