# success

Creates a successful state with optional refresh progress.

## Signatures

```ts
export declare const success: <A>(value: A, progress?: Progress) => Success<A>;
```

## Why

The constructor preserves the payload type while making refresh state explicit.

## Ownership and lifetime

This pure function acquires no resources; the returned wrapper retains the supplied value.

## Examples

```ts
import { success } from "@typed/async-data"
const state = success("ready")
```
