Skip to content

Commit

Permalink
Merge pull request #68 from Phuire-Research/ui
Browse files Browse the repository at this point in the history
Updated documentation with new axium name property.
  • Loading branch information
REllEK-IO authored Oct 5, 2023
2 parents ccd7b70 + 0d2b926 commit acc03c7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Axium.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ The design decision here allows us to forgo the need for dependency injection. A

```typescript
export type AxiumState {
name: string;
open: boolean;
logging: boolean;
dialog: string;
Expand All @@ -39,6 +40,7 @@ export type AxiumState {
subConcepts$: Subject<Concept[]>;
}
```
* name - This should be set to a unique network identifier, and/or the concept of your system.
* open - This is utilized by principles and external subscribers to denote when they should initialize their functionality.
* logging - controls whether the STRX dialog paragraphs are emitted upon strategy completion. In addition to other debugging procedures.
* dialog - Is the internal representation of the strategies that the axium has ran.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Or simply, due to the recursive functionality of STRX, that requires the ability
// ./src/test/ownership.test.ts
const orderOfTopics: string[] = [];
let finalRun = true;
const axium = createAxium([createOwnershipConcept(), createCounterConcept(), createExperimentConcept()], true, true);
const axium = createAxium(['ownershipTest', createOwnershipConcept(), createCounterConcept(), createExperimentConcept()], true, true);
const staged = axium.stage(
'Testing Ownership Staging', [
(cpts, dispatch) => {
Expand Down

0 comments on commit acc03c7

Please sign in to comment.