17.1.4 • Published 5 years ago
@the-/mixin-scene v17.1.4
@the-/mixin-scene
Mixins for the-scene
Installation
$ npm install @the-/mixin-scene --save
Usage
'use strict'
const { withBusy } = require('@the-/mixin-scene')
const { TheScene } = require('@the-/scene')
async function tryExample() {
const MyScene = withBusy(
class MySceneBase extends TheScene {
async doSomething() {
await this.busyWhile(async () => {
/* ... */
})
}
},
)
const scene = new MyScene()
await scene.doSomething()
}
tryExample().catch((err) => console.error(err))
API Guide
- module:@the-/mixin-scene
- module:@the-/mixin-scene.helpers
- module:@the-/mixin-scene.withBusy.WithBusyMixed
- module:@the-/mixin-scene.withBusy
- module:@the-/mixin-scene.withEntities
- module:@the-/mixin-scene.withEntities~WithEntities
- module:@the-/mixin-scene.withEntry
- module:@the-/mixin-scene.withEntry~WithEntryMixed
- module:@the-/mixin-scene.withFilter
- module:@the-/mixin-scene.withFilter~WithFilterMixed
- module:@the-/mixin-scene.withId
- module:@the-/mixin-scene.withId~WithHistoryMixed
- module:@the-/mixin-scene.withLimit
- module:@the-/mixin-scene.withLimit~WithLimitMixed
- module:@the-/mixin-scene.withPage.WithPageMixed
- module:@the-/mixin-scene.withPage
- module:@the-/mixin-scene.withQuery
- module:@the-/mixin-scene.withQuery~WithQueryMixed
- module:@the-/mixin-scene.withReady
- module:@the-/mixin-scene.withReady~WithReadyMixed
- module:@the-/mixin-scene.withResult
- module:@the-/mixin-scene.withResult~WithResultMixed
- module:@the-/mixin-scene.withSort
See API Guide for more detail
License
This software is released under the MIT License.
Links
17.1.4
5 years ago
17.1.3
5 years ago
17.1.2
5 years ago
17.1.1
5 years ago
17.0.0
5 years ago
16.0.1
5 years ago
16.0.0
5 years ago
15.4.6
5 years ago
15.4.4
5 years ago
15.4.3
5 years ago
15.4.2
5 years ago
15.4.0
5 years ago
15.2.2
5 years ago
15.2.1
5 years ago
15.2.0
5 years ago
15.1.4
5 years ago
15.1.3
5 years ago
4.0.10
5 years ago