UNPKG

@oobleck/fluid-backend

Version:

Fluid Framework backend for nteract RTC

22 lines (21 loc) 944 B
import { Observable } from "rxjs"; import { DataObjectFactory } from "@fluid-experimental/fluid-framework"; import { CellEvent, CodeCellInput, OutputInput } from "../schema"; import { ICellOutput, ICodeCell } from "./types"; import { ProtoCellDDS } from "./protoCell"; /** * Fluid DataObject */ export declare class CodeCellDDS extends ProtoCellDDS<CodeCellInput> implements ICodeCell { static DataObjectName: string; private outputSeq; static readonly Factory: DataObjectFactory<CodeCellDDS, {}, CodeCellInput, import("@fluidframework/common-definitions").IEvent>; get cellType(): "CodeCell"; get executionCount(): number | undefined; events$: Observable<CellEvent>; get outputs(): ICellOutput[]; appendOutput(output: OutputInput): void; clearOutputs(): void; protected initializingFirstTime(input?: CodeCellInput): Promise<void>; protected hasInitialized(): Promise<void>; }