Tesserae

DeferWithProgress

Description

A utility to defer execution with progress

DeferWithProgress extends Defer by providing a way to report progress during the async operation. This is useful for long-running tasks where you want to show a progress bar or status updates.

API reference

class

DeferedComponentWithProgress

internal sealed class DeferedComponentWithProgress : IDefer

A variant that reports progress (0-100%) while its real content is being prepared.

Methods

Method
DeferedComponentWithProgress.Refresh
public void Refresh()

Refreshes the component's rendered state.

Method
DeferedComponentWithProgress.RefreshAsync
public Task RefreshAsync()

Refreshes the async.

Method
DeferedComponentWithProgress.Debounce
public IDefer Debounce(int delayInMs, int millisecondsForLoadingMessage = 1000)

Configures the component to debounce.

Method
DeferedComponentWithProgress.Debounce
public IDefer Debounce(int delayInMs, int maxDelayInMs, int millisecondsForLoadingMessage = 1000)

Configures the component to debounce.

Method
DeferedComponentWithProgress.DoNotWaitForComponentMountingBeforeRendering
public IDefer DoNotWaitForComponentMountingBeforeRendering()

Configures the do not wait for component mounting before rendering on the component.

Method
DeferedComponentWithProgress.Render
public HTMLElement Render()

Renders the component's root HTML element.

Samples

Basic Usage

Usage with Observables

See also

© 2026 Tesserae. All rights reserved.