🔭 Make Promise state observable as a string for svelte
<script>
import { observable } from '@jill64/async-observer'
let { status, observed } = observable()
let set = observed(async () => {
await yourAsyncFunction()
})
</script>
<button onclick={set}>Button</button>
<div>{status}</div>