This package has been deprecated

Author message:

No LONGER MAINTINAED

@the-/mixin-scene

17.1.4 • Public • Published

@the-/mixin-scene

npm Version

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

See API Guide for more detail

License

This software is released under the MIT License.

Links

Readme

Keywords

Package Sidebar

Install

npm i @the-/mixin-scene

Weekly Downloads

2

Version

17.1.4

License

MIT

Unpacked Size

337 kB

Total Files

80

Last publish

Collaborators

  • okunishinishi